-
Notifications
You must be signed in to change notification settings - Fork 549
MapKit watchOS xcode16.0 b1
Rolf Bjarne Kvinge edited this page Jun 18, 2024
·
2 revisions
#MapKit.framework
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKAddressFilter.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKAddressFilter.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKAddressFilter.h 1970-01-01 01:00:00
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKAddressFilter.h 2024-05-31 06:52:47
@@ -0,0 +1,36 @@
+//
+// MKAddressFilter.h
+// MapKit
+//
+// Copyright © 2024 Apple, Inc. All rights reserved.
+//
+
+#import <MapKit/MKFoundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+typedef NS_OPTIONS(NSUInteger, MKAddressFilterOption) {
+ MKAddressFilterOptionCountry = 1 << 0,
+ MKAddressFilterOptionAdministrativeArea = 1 << 1,
+ MKAddressFilterOptionSubAdministrativeArea = 1 << 2,
+ MKAddressFilterOptionLocality = 1 << 3,
+ MKAddressFilterOptionSubLocality = 1 << 4,
+ MKAddressFilterOptionPostalCode = 1 << 5
+} NS_SWIFT_NAME(MKAddressFilter.Options) API_AVAILABLE(ios(18.0), visionos(2.0), tvos(18.0), macos(15.0)) API_UNAVAILABLE(watchos);
+
+
+API_AVAILABLE(ios(18.0), visionos(2.0), tvos(18.0), macos(15.0)) API_UNAVAILABLE(watchos)
+@interface MKAddressFilter : NSObject <NSSecureCoding, NSCopying>
+
+@property (nonatomic, class, readonly) MKAddressFilter *filterIncludingAll NS_SWIFT_NAME(includingAll);
+@property (nonatomic, class, readonly) MKAddressFilter *filterExcludingAll NS_SWIFT_NAME(excludingAll);
+
+- (instancetype)initIncludingOptions:(MKAddressFilterOption)options NS_DESIGNATED_INITIALIZER NS_SWIFT_NAME(init(including:));
+- (instancetype)initExcludingOptions:(MKAddressFilterOption)options NS_DESIGNATED_INITIALIZER NS_SWIFT_NAME(init(excluding:));
+
+- (BOOL)includesOptions:(MKAddressFilterOption)options NS_SWIFT_NAME(includes(_:));
+- (BOOL)excludesOptions:(MKAddressFilterOption)options NS_SWIFT_NAME(excludes(_:));
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKAnnotationView.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKAnnotationView.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKAnnotationView.h 2024-04-11 02:44:56
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKAnnotationView.h 2024-05-30 04:50:02
@@ -77,6 +77,18 @@
// centerOffset is the offset in screen points from the center of the annotion view.
@property (nonatomic) CGPoint centerOffset;
+// The offset (in points) that selection accessories reference.
+//
+// By default, the center point of an annotation view is referenced
+// by accessories positioned adjacent to the annotation view on the map.
+// You can use this property to reposition the reference point as
+// necessary. MapKit measures the x- and y-offset values in points.
+// Positive offset values move the reference point down and to the right,
+// and negative values move it up and to the left.
+@property (nonatomic, assign) CGPoint accessoryOffset
+API_AVAILABLE(ios(18.0), macos(15.0), visionos(2.0))
+API_UNAVAILABLE(watchos, tvos);
+
// calloutOffset is the offset in screen points from the top-middle of the annotation view, where the anchor of the callout should be shown.
@property (nonatomic) CGPoint calloutOffset;
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearch.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearch.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearch.h 2024-04-25 05:05:29
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearch.h 2024-05-31 06:52:48
@@ -28,7 +28,7 @@
// Any calls to -startWithCompletionHandler: while -[MKLocalSearch isSearching] will fail.
// completionHandler will be called on the main queue
-- (void)startWithCompletionHandler:(MKLocalSearchCompletionHandler)completionHandler;
+- (void)startWithCompletionHandler:(NS_SWIFT_UI_ACTOR MKLocalSearchCompletionHandler)completionHandler;
- (void)cancel;
@property (nonatomic, readonly, getter=isSearching) BOOL searching;
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h 2024-04-25 05:05:29
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchCompleter.h 2024-05-31 06:52:48
@@ -7,6 +7,7 @@
#import <MapKit/MapKit.h>
#import <MapKit/MKLocalSearchRequest.h>
+#import <MapKit/MKAddressFilter.h>
NS_ASSUME_NONNULL_BEGIN
@@ -27,7 +28,8 @@
typedef NS_OPTIONS(NSUInteger, MKLocalSearchCompleterResultType) {
MKLocalSearchCompleterResultTypeAddress = 1 << 0,
MKLocalSearchCompleterResultTypePointOfInterest = 1 << 1,
- MKLocalSearchCompleterResultTypeQuery = 1 << 2
+ MKLocalSearchCompleterResultTypeQuery = 1 << 2,
+ MKLocalSearchCompleterResultTypePhysicalFeature API_AVAILABLE(ios(18.0), visionos(2.0), tvos(18.0), macos(15.0)) API_UNAVAILABLE(watchos) = 1 << 3
} API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
NS_CLASS_AVAILABLE(10_11_4, 9_3) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
@@ -35,6 +37,7 @@
@property (nonatomic, copy) NSString *queryFragment;
@property (nonatomic, assign) MKCoordinateRegion region;
+@property (nonatomic, assign) MKLocalSearchRegionPriority regionPriority API_AVAILABLE(ios(18.0), visionos(2.0), tvos(18.0), macos(15.0)) API_UNAVAILABLE(watchos);
@property (nonatomic, assign) MKSearchCompletionFilterType filterType
#if defined(TARGET_OS_VISION) && TARGET_OS_VISION
API_UNAVAILABLE(visionos);
@@ -43,6 +46,7 @@
#endif
@property (nonatomic, assign) MKLocalSearchCompleterResultType resultTypes API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
@property (nonatomic, copy, nullable) MKPointOfInterestFilter *pointOfInterestFilter API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
+@property (nonatomic, copy, nullable) MKAddressFilter *addressFilter API_AVAILABLE(ios(18.0), visionos(2.0), tvos(18.0), macos(15.0)) API_UNAVAILABLE(watchos);
@property (nonatomic, weak, nullable) id<MKLocalSearchCompleterDelegate> delegate;
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchRequest.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchRequest.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchRequest.h 2024-04-25 05:05:27
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKLocalSearchRequest.h 2024-05-31 06:52:46
@@ -5,8 +5,10 @@
// Copyright (c) 2012-2014, Apple Inc. All rights reserved.
//
+#import <MapKit/MKAddressFilter.h>
#import <MapKit/MKFoundation.h>
#import <MapKit/MKGeometry.h>
+#import <MapKit/MKTypes.h>
@class MKPointOfInterestFilter;
@@ -14,7 +16,8 @@
typedef NS_OPTIONS(NSUInteger, MKLocalSearchResultType) {
MKLocalSearchResultTypeAddress = 1 << 0,
- MKLocalSearchResultTypePointOfInterest = 1 << 1
+ MKLocalSearchResultTypePointOfInterest = 1 << 1,
+ MKLocalSearchResultTypePhysicalFeature API_AVAILABLE(ios(18.0), visionos(2.0), tvos(18.0), macos(15.0)) API_UNAVAILABLE(watchos) = 1 << 2
} API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
NS_CLASS_AVAILABLE(10_9, 6_1) __TVOS_AVAILABLE(9_2) API_UNAVAILABLE(watchos)
@@ -26,9 +29,11 @@
@property (nonatomic, copy, nullable) NSString *naturalLanguageQuery;
@property (nonatomic, assign) MKCoordinateRegion region;
+@property (nonatomic, assign) MKLocalSearchRegionPriority regionPriority API_AVAILABLE(ios(18.0), visionos(2.0), tvos(18.0), macos(15.0)) API_UNAVAILABLE(watchos);
@property (nonatomic, assign) MKLocalSearchResultType resultTypes API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
@property (nonatomic, copy, nullable) MKPointOfInterestFilter *pointOfInterestFilter API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
+@property (nonatomic, copy, nullable) MKAddressFilter *addressFilter API_AVAILABLE(ios(18.0), visionos(2.0), tvos(18.0), macos(15.0)) API_UNAVAILABLE(watchos);
@end
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapItem.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapItem.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapItem.h 2024-05-02 05:48:59
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapItem.h 2024-05-30 04:50:02
@@ -6,6 +6,7 @@
//
#import <MapKit/MKFoundation.h>
+#import <MapKit/MKMapItemIdentifier.h>
#import <MapKit/MKPlacemark.h>
#import <MapKit/MKPointOfInterestCategory.h>
@@ -17,6 +18,9 @@
NS_CLASS_AVAILABLE(10_9, 6_0) __TVOS_AVAILABLE(9_2)
@interface MKMapItem : NSObject
+
+@property (nonatomic, nullable, readonly) MKMapItemIdentifier *identifier API_AVAILABLE(ios(18.0), visionos(2.0), tvos(18.0), macos(15.0)) API_UNAVAILABLE(watchos);
+@property (nonatomic, readonly) NSSet<MKMapItemIdentifier *> *alternateIdentifiers API_AVAILABLE(ios(18.0), visionos(2.0), tvos(18.0), macos(15.0)) API_UNAVAILABLE(watchos);
// If this MKMapItem represents your current location (isCurrentLocation == YES), then placemark will be nil.
@property (nonatomic, readonly) MKPlacemark *placemark;
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapItemAnnotation.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapItemAnnotation.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapItemAnnotation.h 1970-01-01 01:00:00
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapItemAnnotation.h 2024-05-31 06:52:46
@@ -0,0 +1,33 @@
+//
+// MKMapItemAnnotation.h
+// MapKit
+//
+// Copyright © 2024 Apple, Inc. All rights reserved.
+//
+
+#import <MapKit/MKAnnotation.h>
+#import <MapKit/MKMapItem.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+// An annotation that represents a map item
+API_AVAILABLE(ios(18.0), macos(15.0), visionos(2.0), tvos(18.0))
+API_UNAVAILABLE(watchos)
+@interface MKMapItemAnnotation : NSObject <MKAnnotation>
+
++ (instancetype)new NS_UNAVAILABLE;
+- (instancetype)init NS_UNAVAILABLE;
+
+// Creates a map item annotation
+//
+// If `mapItem` does not have valid `coordinate` data, the result will be `nil`.
+//
+// - Parameters:
+// - mapItem: the map item this annotation will represent
+- (nullable instancetype)initWithMapItem:(MKMapItem *)mapItem NS_DESIGNATED_INITIALIZER;
+
+// The map item represented by this annotation
+@property (nonatomic, readonly, strong) MKMapItem *mapItem;
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapItemIdentifier.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapItemIdentifier.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapItemIdentifier.h 1970-01-01 01:00:00
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapItemIdentifier.h 2024-05-31 06:52:48
@@ -0,0 +1,25 @@
+//
+// MKMapItemIdentifier.h
+// MapKit
+//
+// Copyright © 2023 Apple, Inc. All rights reserved.
+//
+
+#import <MapKit/MKFoundation.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+API_AVAILABLE(ios(18.0), visionos(2.0), tvos(18.0), macos(15.0)) API_UNAVAILABLE(watchos)
+NS_SWIFT_NAME(MKMapItem.Identifier)
+@interface MKMapItemIdentifier : NSObject <NSCopying, NSSecureCoding>
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+- (nullable instancetype)initWithIdentifierString:(NSString *)string NS_SWIFT_NAME(init(rawValue:));
+
+@property (nonatomic, readonly) NSString *identifierString NS_SWIFT_NAME(rawValue);
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapSnapshotter.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapSnapshotter.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapSnapshotter.h 2024-04-25 05:05:27
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapSnapshotter.h 2024-05-31 06:52:47
@@ -19,7 +19,7 @@
- (instancetype)initWithOptions:(MKMapSnapshotOptions *)options NS_DESIGNATED_INITIALIZER;
-- (void)startWithCompletionHandler:(MKMapSnapshotCompletionHandler)completionHandler; // defaults to the main queue
+- (void)startWithCompletionHandler:(NS_SWIFT_UI_ACTOR MKMapSnapshotCompletionHandler)completionHandler; // defaults to the main queue
- (void)startWithQueue:(dispatch_queue_t)queue completionHandler:(MKMapSnapshotCompletionHandler)completionHandler;
- (void)cancel;
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h 2024-04-14 19:10:21
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKMapView.h 2024-05-31 07:53:30
@@ -22,6 +22,10 @@
#import <MapKit/MKMapFeatureAnnotation.h>
#endif
+#if !TARGET_OS_WATCH
+#import <MapKit/MKSelectionAccessory.h>
+#endif
+
@class MKUserLocation;
@class MKMapCamera;
@class MKMapCameraZoomRange;
@@ -252,6 +256,7 @@
@end
API_UNAVAILABLE(watchos)
+NS_SWIFT_UI_ACTOR
@protocol MKMapViewDelegate <NSObject>
@optional
@@ -287,6 +292,23 @@
- (void)mapView:(MKMapView *)mapView didSelectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
- (void)mapView:(MKMapView *)mapView didDeselectAnnotation:(id<MKAnnotation>)annotation API_AVAILABLE(ios(16.0)) API_UNAVAILABLE(macos, tvos, watchos);
+
+#if !TARGET_OS_WATCH && !TARGET_OS_TV
+// Specifies the accessory to display for a selected annotation
+//
+// Called for all selected annotations. Not all types of annotations
+// currently support displaying selection accessories. Please return `nil`
+// for annotations where a selection accessory is not desired.
+//
+// No accessory will be displayed if...
+// - `nil` is returned
+// - `- mapView:selectionAccessoryForAnnotation:` is not implemented
+// - the accessory returned is not supported for `annotation`
+- (nullable MKSelectionAccessory *)mapView:(MKMapView *)mapView
+ selectionAccessoryForAnnotation:(id<MKAnnotation>)annotation
+API_AVAILABLE(ios(18.0), macos(15.0), visionos(2.0))
+API_UNAVAILABLE(watchos, tvos);
+#endif
- (void)mapViewWillStartLocatingUser:(MKMapView *)mapView NS_AVAILABLE(10_9, 4_0);
- (void)mapViewDidStopLocatingUser:(MKMapView *)mapView NS_AVAILABLE(10_9, 4_0);
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestCategory.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestCategory.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestCategory.h 2024-04-11 02:47:14
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKPointOfInterestCategory.h 2024-05-30 04:50:02
@@ -9,43 +9,76 @@
typedef NSString * MKPointOfInterestCategory NS_TYPED_ENUM;
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryAnimalService API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryAirport API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryAmusementPark API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryAquarium API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryATM NS_SWIFT_NAME(atm) API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryAutomotiveRepair API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryBakery API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryBank API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryBaseball API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryBasketball API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryBeach API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryBeauty API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryBowling API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryBrewery API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryCafe API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryCampground API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryCarRental API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryCastle API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryConventionCenter API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryDistillery API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryEVCharger API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryFairground API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryFireStation API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryFishing API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryFitnessCenter API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryFoodMarket API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryFortress API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryGasStation API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryGolf API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryGoKart API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryHiking API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryHospital API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryHotel API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryKayaking API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryLandmark API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryLaundry API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryLibrary API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryMailbox API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryMarina API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryMiniGolf API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryMovieTheater API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryMuseum API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryMusicVenue API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryNationalMonument API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryNationalPark API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryNightlife API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryPark API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryParking API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryPharmacy API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryPlanetarium API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryPolice API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryPostOffice API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryPublicTransport API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryRestaurant API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryRestroom API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryRockClimbing API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryRVPark API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategorySchool API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategorySkatePark API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategorySkating API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategorySkiing API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategorySoccer API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategorySpa API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryStadium API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryStore API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategorySurfing API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategorySwimming API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryTennis API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryTheater API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryUniversity API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryWinery API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
+MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryVolleyball API_AVAILABLE(ios(18.0), visionos(2.0), macos(15.0), tvos(18.0)) API_UNAVAILABLE(watchos);
MK_EXTERN MKPointOfInterestCategory const MKPointOfInterestCategoryZoo API_AVAILABLE(ios(13.0), macos(10.15), tvos(13.0)) API_UNAVAILABLE(watchos);
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKTypes.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKTypes.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKTypes.h 2024-04-25 05:05:28
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MKTypes.h 2024-05-31 06:52:47
@@ -35,4 +35,9 @@
MKFeatureVisibilityVisible
} API_AVAILABLE(ios(11.0), tvos(11.0), macos(11.0)) API_UNAVAILABLE(watchos);
+typedef NS_ENUM(NSInteger, MKLocalSearchRegionPriority) {
+ MKLocalSearchRegionPriorityDefault = 0,
+ MKLocalSearchRegionPriorityRequired
+} API_AVAILABLE(ios(18.0), visionos(2.0), tvos(18.0), macos(15.0)) API_UNAVAILABLE(watchos);
+
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.h /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.h
--- /Applications/Xcode_15.4.0.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.h 2024-04-25 05:05:26
+++ /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/WatchOS.platform/Developer/SDKs/WatchOS.sdk/System/Library/Frameworks/MapKit.framework/Headers/MapKit.h 2024-05-31 06:52:42
@@ -10,11 +10,13 @@
#import <MapKit/MKAnnotation.h>
#import <MapKit/MKDistanceFormatter.h>
#import <MapKit/MKGeometry.h>
+#import <MapKit/MKMapItemIdentifier.h>
#import <MapKit/MKMapItem.h>
#import <MapKit/MKPlacemark.h>
#import <MapKit/NSUserActivity+MKMapItem.h>
#if __has_include(<MapKit/MKMapView.h>)
+#import <MapKit/MKAddressFilter.h>
#import <MapKit/MKAnnotationView.h>
#import <MapKit/MKMapView.h>
#import <MapKit/MKMarkerAnnotationView.h>
@@ -26,6 +28,7 @@
#import <MapKit/MKOverlay.h>
#import <MapKit/MKShape.h>
#import <MapKit/MKPointAnnotation.h>
+#import <MapKit/MKMapItemAnnotation.h>
#import <MapKit/MKMultiPoint.h>
#import <MapKit/MKMultiPolygon.h>
#import <MapKit/MKMultiPolygonRenderer.h>
@@ -83,7 +86,6 @@
#import <MapKit/MKUserTrackingButton.h>
#import <MapKit/MKIconStyle.h>
#import <MapKit/MKMapFeatureAnnotation.h>
-#import <MapKit/MKMapItemRequest.h>
#endif // TARGET_OS_IOS || TARGET_OS_MACCATALYST || TARGET_OS_TV
@@ -97,5 +99,14 @@
#import <MapKit/MKLookAroundViewController.h>
#endif // (TARGET_OS_IOS || TARGET_OS_MACCATALYST || TARGET_OS_OSX || TARGET_OS_TV)
+
+#if (!TARGET_OS_WATCH)
+
+#import <MapKit/MKMapItemDetailViewController.h>
+#import <MapKit/MKMapItemRequest.h>
+#import <MapKit/MKSelectionAccessory.h>
+
+#endif // (!TARGET_OS_WATCH)
+
#endif // __has_include(<MapKit/MKMapView.h>)