Skip to content

MapKit MacCatalyst xcode26.0 b2

Alex Soto edited this page Jun 24, 2025 · 1 revision

#MapKit.framework

diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/MapKit.framework/Headers/MKMapItem.h /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/MapKit.framework/Headers/MKMapItem.h
--- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/MapKit.framework/Headers/MKMapItem.h	2025-05-30 03:12:22
+++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/MapKit.framework/Headers/MKMapItem.h	2025-06-14 11:45:55
@@ -25,7 +25,8 @@
 @property (nonatomic, readonly) NSSet<MKMapItemIdentifier *> *alternateIdentifiers API_AVAILABLE(ios(18.0), visionos(2.0), tvos(18.0), macos(15.0), watchos(11.0));
 
 // If this MKMapItem represents your current location (isCurrentLocation == YES), then placemark will be nil.
-@property (nonatomic, readonly) MKPlacemark *placemark API_DEPRECATED("Use address or location", ios(6.0, API_TO_BE_DEPRECATED), visionos(1.0, API_TO_BE_DEPRECATED), tvos(9.2, API_TO_BE_DEPRECATED), macos(10.9, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED));
+@property (nonatomic, readonly) MKPlacemark *placemark API_DEPRECATED("Use location, address and addressRepresentations instead", ios(6.0, 26.0), visionos(1.0, 26.0), tvos(9.2, 26.0), macos(10.9, 26.0), watchos(2.0, 26.0));
+
 @property (nonatomic, readonly) BOOL isCurrentLocation;
 
 @property (nonatomic, readonly) CLLocation *location API_AVAILABLE(ios(26.0), visionos(26.0), tvos(26.0), macos(26.0), watchos(26.0));
@@ -42,7 +43,9 @@
 @property (nonatomic, copy, nullable) MKPointOfInterestCategory pointOfInterestCategory API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0), watchos(6.0));
 
 + (MKMapItem *)mapItemForCurrentLocation;
-- (instancetype)initWithPlacemark:(MKPlacemark *)placemark API_DEPRECATED("Use initWithLocation:address:", ios(6.0, API_TO_BE_DEPRECATED), visionos(1.0, API_TO_BE_DEPRECATED), tvos(9.2, API_TO_BE_DEPRECATED), macos(10.9, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED));
+- (instancetype)initWithPlacemark:(MKPlacemark *)placemark API_DEPRECATED("Use initWithLocation:address:", ios(6.0, 26.0), visionos(1.0, 26.0), tvos(9.2, 26.0), macos(10.9, 26.0), watchos(2.0, 26.0));
+
+
 
 - (instancetype)initWithLocation:(CLLocation *)location address:(nullable MKAddress *)address API_AVAILABLE(ios(26.0), visionos(26.0), tvos(26.0), macos(26.0), watchos(26.0));
 
diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/MapKit.framework/Headers/MKPlacemark.h /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/MapKit.framework/Headers/MKPlacemark.h
--- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/MapKit.framework/Headers/MKPlacemark.h	2025-05-30 03:12:21
+++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/MapKit.framework/Headers/MKPlacemark.h	2025-06-14 11:51:51
@@ -13,7 +13,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-API_DEPRECATED("Use MKMapItem", ios(3.0, API_TO_BE_DEPRECATED), visionos(1.0, API_TO_BE_DEPRECATED), tvos(9.2, API_TO_BE_DEPRECATED), macos(10.9, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED))
+API_DEPRECATED("Use MKMapItem's location, address and addressRepresentations properties instead. Use MKAddressRepresentations for formatted address strings for MapKit provided MKMapItems", ios(3.0, 26.0), visionos(1.0, 26.0), tvos(9.2, 26.0), macos(10.9, 26.0), watchos(2.0, 26.0))
 @interface MKPlacemark : CLPlacemark <MKAnnotation>
 
 - (instancetype)initWithCoordinate:(CLLocationCoordinate2D)coordinate NS_AVAILABLE(10_12, 10_0) __TVOS_AVAILABLE(10_0) __WATCHOS_AVAILABLE(3_0);
Clone this wiki locally