Skip to content

MapKit macOS xcode13.0 rc

Alex Soto edited this page Sep 14, 2021 · 1 revision

#MapKit.framework

diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPinAnnotationView.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPinAnnotationView.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPinAnnotationView.h	2021-08-07 05:20:40.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPinAnnotationView.h	2021-08-03 21:49:28.000000000 -0400
@@ -19,8 +19,7 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
-API_DEPRECATED_WITH_REPLACEMENT("MKMarkerAnnotationView", macos(10.9, API_TO_BE_DEPRECATED), ios(3.0, API_TO_BE_DEPRECATED), tvos(9.2, API_TO_BE_DEPRECATED))
-API_UNAVAILABLE(watchos)
+NS_CLASS_AVAILABLE(10_9, 3_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
 @interface MKPinAnnotationView : MKAnnotationView
 
 #if TARGET_OS_IPHONE
diff -ruN /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKTileOverlay.h /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKTileOverlay.h
--- /Applications/Xcode_13.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKTileOverlay.h	2021-08-07 05:20:40.000000000 -0400
+++ /Applications/Xcode_13.0.0-rc.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKTileOverlay.h	2021-08-03 21:49:28.000000000 -0400
@@ -43,7 +43,7 @@
 - (NSURL *)URLForTilePath:(MKTileOverlayPath)path; // default implementation fills out the URLTemplate
 
 // Load the requested tile and call the callback block with the tile data or with an error if the tile could not be loaded. The default implementation first uses -URLForTilePath to get a URL and then it loads it asynchronously.
-- (void)loadTileAtPath:(MKTileOverlayPath)path result:(void (^)(NSData * __nullable tileData, NSError * __nullable error))result NS_SWIFT_ASYNC(2);
+- (void)loadTileAtPath:(MKTileOverlayPath)path result:(void (^)(NSData * __nullable tileData, NSError * __nullable error))result;
 
 @end
 
Clone this wiki locally