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

21 lines
738 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;
+ (TGLocationReverseGeocodeResult *)reverseGeocodeResultWithDictionary:(NSDictionary *)dictionary;
@end