Skip to content

MapKit tvOS xcode14.0 beta2

Manuel de la Pena edited this page Aug 5, 2022 · 3 revisions

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

diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKHybridMapConfiguration.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKHybridMapConfiguration.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKHybridMapConfiguration.h	2022-06-03 18:06:31.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKHybridMapConfiguration.h	2022-06-17 14:48:25.000000000 -0400
@@ -15,7 +15,6 @@
 @interface MKHybridMapConfiguration : MKMapConfiguration
 
 - (instancetype)init NS_DESIGNATED_INITIALIZER;
-- (instancetype)initWithLandscape:(MKMapLandscape)landscape; // To be removed; please use MKMapElevationStyle.
 - (instancetype)initWithElevationStyle:(MKMapElevationStyle)elevationStyle;
 
 @property (nonatomic, copy, nullable) MKPointOfInterestFilter *pointOfInterestFilter;
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKImageryMapConfiguration.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKImageryMapConfiguration.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKImageryMapConfiguration.h	2022-06-03 18:06:32.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKImageryMapConfiguration.h	2022-06-17 14:48:25.000000000 -0400
@@ -14,7 +14,6 @@
 @interface MKImageryMapConfiguration : MKMapConfiguration
 
 - (instancetype)init NS_DESIGNATED_INITIALIZER;
-- (instancetype)initWithLandscape:(MKMapLandscape)landscape; // To be removed; please use MKMapElevationStyle.
 - (instancetype)initWithElevationStyle:(MKMapElevationStyle)elevationStyle;
 
 @end
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapConfiguration.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapConfiguration.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapConfiguration.h	2022-06-03 18:06:31.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapConfiguration.h	2022-06-17 14:48:24.000000000 -0400
@@ -7,12 +7,6 @@
 
 #import <Foundation/Foundation.h>
 
-// To be removed; please use MKMapElevationStyle.
-typedef NS_ENUM(NSInteger, MKMapLandscape) {
-    MKMapLandscapeDefault = 0,
-    MKMapLandscapeDetailed,
-};
-
 API_AVAILABLE(ios(16.0), tvos(16.0), macos(13.0)) API_UNAVAILABLE(watchos)
 typedef NS_ENUM(NSInteger, MKMapElevationStyle) {
     MKMapElevationStyleFlat = 0,
@@ -28,7 +22,6 @@
 - (instancetype)init NS_UNAVAILABLE;
 + (instancetype)new NS_UNAVAILABLE;
 
-@property (nonatomic) MKMapLandscape landscape; // To be removed; please use MKMapElevationStyle.
 @property (nonatomic) MKMapElevationStyle elevationStyle;
 
 @end
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h	2022-06-03 18:08:52.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h	2022-06-17 15:26:21.000000000 -0400
@@ -65,7 +65,6 @@
 // The loading delegate methods will be called as map content is loaded.
 @property (nonatomic) MKMapType mapType API_DEPRECATED_WITH_REPLACEMENT("Use respective MKMapConfiguration", macos(10.9, API_TO_BE_DEPRECATED), ios(3.0, API_TO_BE_DEPRECATED), tvos(9.2, API_TO_BE_DEPRECATED));
 
-@property (nonatomic, copy) MKMapConfiguration *configuration; // To be removed
 @property (nonatomic, copy) MKMapConfiguration *preferredConfiguration API_AVAILABLE(ios(16.0), macos(13.0), tvos(16.0)) API_UNAVAILABLE(watchos);
 
 #if TARGET_OS_IOS
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKStandardMapConfiguration.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKStandardMapConfiguration.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKStandardMapConfiguration.h	2022-06-03 18:06:33.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKStandardMapConfiguration.h	2022-06-17 14:48:26.000000000 -0400
@@ -8,12 +8,6 @@
 #import <MapKit/MKMapConfiguration.h>
 #import <MapKit/MKPointOfInterestFilter.h>
 
-// To be removed
-typedef NS_ENUM(NSInteger, MKStandardMapConfigurationMapMode) {
-    MKStandardMapConfigurationMapModeDefault = 0,
-    MKStandardMapConfigurationMapModeMuted,
-};
-
 API_AVAILABLE(ios(16.0), tvos(16.0), macos(13.0)) API_UNAVAILABLE(watchos)
 typedef NS_ENUM(NSInteger, MKStandardMapEmphasisStyle) {
     MKStandardMapEmphasisStyleDefault = 0,
@@ -35,12 +29,6 @@
 @property (nonatomic, copy, nullable) MKPointOfInterestFilter *pointOfInterestFilter;
 @property (nonatomic) BOOL showsTraffic;
 
-- (instancetype)initWithMapMode:(MKStandardMapConfigurationMapMode)mode;
-- (instancetype)initWithMapMode:(MKStandardMapConfigurationMapMode)mode landscape:(MKMapLandscape)landscape; // To be removed; please use MKMapElevationStyle.
-- (instancetype)initWithMapMode:(MKStandardMapConfigurationMapMode)mode elevationStyle:(MKMapElevationStyle)elevationStyle;
-@property (nonatomic) MKStandardMapConfigurationMapMode mode;
-@property (nonatomic) BOOL showsBuildings; // To be removed
-
 @end
 
 NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.apinotes /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.apinotes
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.apinotes	2022-05-28 00:58:03.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.apinotes	2022-06-17 00:03:00.000000000 -0400
@@ -191,10 +191,6 @@
   SwiftName: MKLocalSearchCompleter.ResultType
 - Name: MKLocalSearchResultType
   SwiftName: MKLocalSearch.ResultType
-- Name: MKStandardMapConfigurationMapMode
-  SwiftName: MKStandardMapConfiguration.MapMode
-- Name: MKMapLandscape
-  SwiftName: MKMapConfiguration.MapLandscape
 - Name: MKStandardMapEmphasisStyle
   SwiftName: MKStandardMapConfiguration.EmphasisStyle
 - Name: MKMapElevationStyle
diff -ruN /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.h /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.h
--- /Applications/Xcode_14.0.0-beta.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.h	2022-05-27 00:22:18.000000000 -0400
+++ /Applications/Xcode_14.0.0-beta2.app/Contents/Developer/Platforms/AppleTVOS.platform/Developer/SDKs/AppleTVOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.h	2022-06-16 00:02:08.000000000 -0400
@@ -79,17 +79,15 @@
 #import <MapKit/MKUserTrackingBarButtonItem.h>
 #endif // TARGET_OS_IPHONE
 
-#if TARGET_OS_IOS
+#if TARGET_OS_IOS || TARGET_OS_MACCATALYST || TARGET_OS_TV
+#import <MapKit/MKUserTrackingButton.h>
 #import <MapKit/MKIconStyle.h>
 #import <MapKit/MKMapFeatureAnnotation.h>
 #import <MapKit/MKMapItemRequest.h>
-#endif
 
-#if TARGET_OS_IOS || TARGET_OS_MACCATALYST || TARGET_OS_TV
-#import <MapKit/MKUserTrackingButton.h>
 #endif // TARGET_OS_IOS || TARGET_OS_MACCATALYST || TARGET_OS_TV
 
-#if (TARGET_OS_IOS || TARGET_OS_MACCATALYST || TARGET_OS_OSX)
+#if (TARGET_OS_IOS || TARGET_OS_MACCATALYST || TARGET_OS_OSX || TARGET_OS_TV)
 
 #import <MapKit/MKLookAroundScene.h>
 #import <MapKit/MKLookAroundSceneRequest.h>
@@ -98,6 +96,6 @@
 #import <MapKit/MKLookAroundSnapshotter.h>
 #import <MapKit/MKLookAroundViewController.h>
 
-#endif // (TARGET_OS_IOS || TARGET_OS_MACCATALYST || TARGET_OS_OSX)
+#endif // (TARGET_OS_IOS || TARGET_OS_MACCATALYST || TARGET_OS_OSX || TARGET_OS_TV)
 
 #endif // __has_include(<MapKit/MKMapView.h>)
Clone this wiki locally