mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-08-18 11:30:04 +00:00
19 lines
512 B
Objective-C
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
|