// // MKPlacemark.h // MapKit // // Copyright (c) 2009-2014, Apple Inc. All rights reserved. // #import #import #import #import @class CNPostalAddress; NS_ASSUME_NONNULL_BEGIN NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) @interface MKPlacemark : CLPlacemark - (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate NS_AVAILABLE(10_12, 10_0) __TVOS_AVAILABLE(10_0) __WATCHOS_AVAILABLE(3_0); // An address dictionary is a dictionary in the same form as returned by // ABRecordCopyValue(person, kABPersonAddressProperty). - (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate addressDictionary:(nullable NSDictionary *)addressDictionary; - (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate postalAddress:(nonnull CNPostalAddress *)postalAddress NS_AVAILABLE(10_12, 10_0) __WATCHOS_AVAILABLE(3_0) __TVOS_UNAVAILABLE; // To create an MKPlacemark from a CLPlacemark, call [MKPlacemark initWithPlacemark:] passing the CLPlacemark instance that is returned by CLGeocoder. // See CLGeocoder.h and CLPlacemark.h in CoreLocation for more information. @property (nonatomic, readonly, nullable) NSString *countryCode; @end NS_ASSUME_NONNULL_END