mirror of
https://github.com/HackPlan/AsyncDisplayKit.git
synced 2026-04-23 11:27:56 +08:00
24 lines
708 B
Objective-C
24 lines
708 B
Objective-C
//
|
|
// LocationModel.h
|
|
// Flickrgram
|
|
//
|
|
// Created by Hannah Troisi on 2/26/16.
|
|
// Copyright © 2016 Hannah Troisi. All rights reserved.
|
|
//
|
|
|
|
#import <Foundation/Foundation.h>
|
|
#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
|