Skip to content

MapKit macOS xcode15.0 b2

Haritha Mohan edited this page Aug 30, 2023 · 3 revisions

#MapKit.framework https://github.com/xamarin/xamarin-macios/pull/18877

diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapCamera.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapCamera.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapCamera.h	2023-05-19 22:48:09
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapCamera.h	2023-06-13 03:58:53
@@ -7,9 +7,6 @@
 
 #import <Foundation/Foundation.h>
 #import <MapKit/MKFoundation.h>
-
-#if __has_include(<UIKit/UIView.h>) || !TARGET_OS_IPHONE
-
 #import <CoreLocation/CoreLocation.h>
 #import <CoreGraphics/CoreGraphics.h>
 
@@ -44,5 +41,3 @@
 @end
 
 NS_ASSUME_NONNULL_END
-
-#endif
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h	2023-05-19 22:35:40
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h	2023-06-14 01:09:47
@@ -34,6 +34,15 @@
 
 NS_ASSUME_NONNULL_BEGIN
 
+#endif // MK_SUPPORTS_VIEW_CLASSES
+
+typedef NS_ENUM(NSInteger, MKOverlayLevel) {
+    MKOverlayLevelAboveRoads = 0, // note that labels include shields and point of interest icons.
+    MKOverlayLevelAboveLabels
+} API_AVAILABLE(macos(10.9), ios(7.0), tvos(9.2), watchos(10.0));
+
+#if MK_SUPPORTS_VIEW_CLASSES
+
 typedef NS_ENUM(NSInteger, MKUserTrackingMode) {
 	MKUserTrackingModeNone = 0, // the user's location is not followed
 	MKUserTrackingModeFollow, // the map follows the user's location
@@ -195,11 +204,6 @@
 - (void)showAnnotations:(NSArray<id<MKAnnotation>> *)annotations animated:(BOOL)animated NS_AVAILABLE(10_9, 7_0);
 
 @end
-
-typedef NS_ENUM(NSInteger, MKOverlayLevel) {
-    MKOverlayLevelAboveRoads = 0, // note that labels include shields and point of interest icons.
-    MKOverlayLevelAboveLabels
-} NS_ENUM_AVAILABLE(10_9, 7_0) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos);
 
 @interface MKMapView (OverlaysAPI)
 
Clone this wiki locally