Swiftgram/examples/ASDKgram/Sample/LocationModel.h
Hannah Troisi 44d483b7fe [New Example] 500pxgram updates
- addressed all comments in PR except autolayout of UIKit code
2016-04-10 23:34:41 -07:00

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