Swiftgram/LegacyComponents/TGLocationPickerController.h
2017-08-04 18:11:13 +03:00

19 lines
512 B
Objective-C

#import <LegacyComponents/LegacyComponents.h>
#import <CoreLocation/CoreLocation.h>
@class TGVenueAttachment;
typedef enum {
TGLocationPickerControllerDefaultIntent,
TGLocationPickerControllerCustomLocationIntent
} TGLocationPickerControllerIntent;
@interface TGLocationPickerController : TGViewController
@property (nonatomic, copy) void (^locationPicked)(CLLocationCoordinate2D coordinate, TGVenueAttachment *venue);
- (instancetype)initWithIntent:(TGLocationPickerControllerIntent)intent;
@end