Swiftgram/submodules/LegacyComponents/Sources/TGLocationReverseGeocodeResult.h
2020-02-22 15:38:54 +04:00

24 lines
894 B
Objective-C

#import <CoreLocation/CoreLocation.h>
@interface TGLocationReverseGeocodeResult : NSObject
@property (nonatomic, readonly) NSString *identifier;
@property (nonatomic, readonly) CLLocationCoordinate2D coordinate;
@property (nonatomic, readonly) NSString *displayAddress;
@property (nonatomic, readonly) NSString *country;
@property (nonatomic, readonly) NSString *countryAbbr;
@property (nonatomic, readonly) NSString *state;
@property (nonatomic, readonly) NSString *stateAbbr;
@property (nonatomic, readonly) NSString *city;
@property (nonatomic, readonly) NSString *district;
@property (nonatomic, readonly) NSString *street;
@property (nonatomic, readonly) NSString *fullAddress;
+ (TGLocationReverseGeocodeResult *)reverseGeocodeResultWithDictionary:(NSDictionary *)dictionary;
+ (TGLocationReverseGeocodeResult *)reverseGeocodeResultWithPlacemark:(CLPlacemark *)placemark;
@end