mirror of
https://github.com/Swiftgram/Telegram-iOS.git
synced 2025-09-15 16:36:36 +00:00
23 lines
672 B
Objective-C
23 lines
672 B
Objective-C
//
|
|
// LocationModel.h
|
|
// ASDKgram
|
|
//
|
|
// Created by Hannah Troisi on 2/26/16.
|
|
// Copyright © 2016 Hannah Troisi. All rights reserved.
|
|
//
|
|
|
|
#import "CoreLocation/CoreLocation.h"
|
|
|
|
@interface LocationModel : NSObject
|
|
|
|
@property (nonatomic, assign, readonly) CLLocationCoordinate2D coordinates;
|
|
@property (nonatomic, strong, readonly) CLPlacemark *placemark;
|
|
@property (nonatomic, strong, readonly) NSString *locationString;
|
|
|
|
- (instancetype)init NS_UNAVAILABLE;
|
|
- (instancetype)initWith500pxPhoto:(NSDictionary *)dictionary NS_DESIGNATED_INITIALIZER;
|
|
|
|
- (void)reverseGeocodedLocationWithCompletionBlock:(void (^)(LocationModel *))blockName;
|
|
|
|
@end
|