Skip to content

CoreLocation iOS xcode15.0 b2

Manuel de la Pena edited this page Aug 30, 2023 · 3 revisions

#CoreLocation.framework https://github.com/xamarin/xamarin-macios/pull/18876

diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularGeographicCondition.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularGeographicCondition.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularGeographicCondition.h	2023-05-31 23:45:39
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCircularGeographicCondition.h	2023-06-14 00:47:13
@@ -15,7 +15,7 @@
 
 NS_REFINED_FOR_SWIFT
 CL_EXTERN
-API_AVAILABLE(macos(14.0), ios(17.0), watchos(10.0)) API_UNAVAILABLE(tvos)
+API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos)
 #if defined(TARGET_OS_XR) && TARGET_OS_XR
 API_UNAVAILABLE(xros)
 #endif
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h	2023-05-31 23:45:39
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLCondition.h	2023-06-14 00:47:13
@@ -36,7 +36,7 @@
  *
  */
 NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
-API_AVAILABLE(macos(14.0), ios(17.0), watchos(10.0)) API_UNAVAILABLE(tvos)
+API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos)
 #if defined(TARGET_OS_XR) && TARGET_OS_XR
 API_UNAVAILABLE(xros)
 #endif
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h	2023-05-31 23:45:38
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLLocationUpdater.h	2023-06-10 03:14:51
@@ -88,9 +88,9 @@
  *          available update.
  *      handler: Specifies the block that will be invoked with each update.
  *
- *      CoreLocation will ensure the app has a few seconds of runtime each
- *      location update it is authorized to receive. If the app is suspended,
- *      crashes, or exits for any reason while updates are flowing,
+ *      CoreLocation will ensure the app has a few seconds of runtime to process
+ *      each location update it is authorized to receive. If the app crashes,
+ *      or exits for any reason while updates are flowing,
  *      it will be launched for the next update, which it may receive by
  *      calling this method again to express resumed interest.
  *      If this method is not called again, or the resulting updater
@@ -118,8 +118,8 @@
  *          available update.
  *      handler: Specifies the block that will be invoked with each update.
  *
- *      CoreLocation will ensure the app has a few seconds of runtime each
- *      location update it is authorized to receive. If the app is suspended,
+ *      CoreLocation will ensure the app has a few seconds of runtime to process
+ *      each location update it is authorized to receive. If the app crashes,
  *      crashes, or exits for any reason while updates are flowing,
  *      it will be launched for the next update, which it may receive by
  *      calling this method again to express resumed interest.
@@ -135,103 +135,7 @@
 , xros(1.0)
 #endif
 ) NS_REFINED_FOR_SWIFT;
-																										
-/*
- *  historicalUpdaterWithDateInterval:sampleCount:queue:handler:
- *
- *  Discussion:
- *      Returns a new CLLocationUpdater with the requested query configuration,
- *      queue, and handler.
- *
- *      interestInterval:
- *          Specifies the date interval of interest to retrieve
- *          updates. Date interval should be non-nil. Start date should
- *          be before end date, and end date should be before or equal to
- *          +[NSDate now].
- *      sampleCount:
- *          Specifies the maximum number of locations to return,
- *          downsampling if necessary. Sample count must be greater than 0.
- *          Set sampleCount to a large number to retrieve all available locations
- *          without downsampling.
- *      queue: Specifies the queue to which the handler is submitted with each
- *          available update.
- *      handler: Specifies the block that will be invoked with each update.
- *
- *      CoreLocation will ensure the app has a few seconds of runtime each
- *      location update it is authorized to receive. If the app is suspended,
- *      crashes, or exits for any reason while updates are flowing,
- *      it will be launched for the next update, which it may receive by
- *      calling this method again to express resumed interest.
- *      If this method is not called again, or the resulting updater
- *      is not resumed again, then CoreLocation will automatically stop the flow
- *      of updates.
- *
- *
- *      Care should be taken to change dateInterval and sampleCount to avoid
- *      re-delivery of updates, or re-delivery should be handled, if a query
- *      is started again after such an interruption.
- *
- *      Once all the historical updates are delivered to the completion block it will
- *      finally be invoked by passing a nil to signify end of operation.
- *
- */
-+ (nullable instancetype)historicalUpdaterWithDateInterval:(NSDateInterval *)interestInterval
-											   sampleCount:(int)maxCount
-													 queue:(dispatch_queue_t)queue
-												   handler:(void(^)(CLUpdate * _Nullable update))handler API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0)
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-, xros(1.0)
-#endif
-) NS_REFINED_FOR_SWIFT;
-
-/*
- *  historicalUpdaterWithCenter:radius:dateInterval:sampleCount:queue:handler:
- *
- *  Discussion:
- *      Returns a new CLLocationUpdater with the requested query configuration,
- *      queue, and handler.
- *
- *      center: Specifies the coordinate of the center point of location.
- *      radius: Specifies the radius in meters.
- *      interestInterval: Specifies the date interval of interest to retrieve
- *          updates. Date interval should be valid: start date should be before end
- *          date, and end date should be before or equal to +[NSDate now]. Set
- *          interestInterval to nil to receive all locations.
- *      sampleCount: Specifies the maximum number of locations to return,
- *          downsampling if necessary. Sample count must be greater than 0.
- *          Set sampleCount to a large number to retrieve all available locations
- *          without downsampling.
- *      queue: Specifies the queue to which the handler is submitted with each
- *          available update.
- *      handler: Specifies the block that will be invoked with each update.
- *
- *      CoreLocation will ensure the app has a few seconds of runtime each
- *      location update it is authorized to receive. If the app is suspended,
- *      crashes, or exits for any reason while updates are flowing,
- *      it will be launched for the next update, which it may receive by
- *      calling this method again to express resumed interest.
- *      If this method is not called again, or the resulting updater
- *      is not resumed again, then CoreLocation will automatically stop the flow
- *      of updates.
- *
- *          Care should be taken to change dateInterval and sampleCount to avoid
- *          re-delivery of updates, or re-delivery should be handled, if a query
- *          is started again after such an interruption.
- *
- *          Once all the historical updates are delivered to the completion block it will
- *          finally be invoked by passing a nil to signify end of operation.
- */
-+ (nullable instancetype)historicalUpdaterWithCenter:(CLLocationCoordinate2D)center
-											  radius:(double)radius
-										dateInterval:(NSDateInterval * _Nullable)interestInterval
-										 sampleCount:(int)maxCount
-											   queue:(dispatch_queue_t)queue
-											 handler:(void(^)(CLUpdate * _Nullable update))handler API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0), tvos(17.0))
-#if defined(TARGET_OS_XR) && TARGET_OS_XR
-API_UNAVAILABLE(xros)
-#endif
-NS_REFINED_FOR_SWIFT;
-
+																									
 /*
 *  resume
 *
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h	2023-05-23 02:54:24
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitor.h	2023-06-14 23:21:14
@@ -24,14 +24,13 @@
  */
 NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
 CL_EXTERN
-API_AVAILABLE(macos(14.0), ios(17.0), watchos(10.0)) API_UNAVAILABLE(tvos)
+API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos)
 #if defined(TARGET_OS_XR) && TARGET_OS_XR
 API_UNAVAILABLE(xros)
 #endif
 @interface CLMonitor : NSObject
 
 /* requestMonitorWithConfiguration:completion:
- * TODO: rdar://105089713 ([CLMonitor] API Review for vending CLMonitor and new state)
  * 	Discussion:
  *		Creates or opens, a `CLMonitor` instance with the given name.
  *      The completion handler will be called with the instance of `CLMonitor`
@@ -71,7 +70,7 @@
  *
  */
 + (void)requestMonitorWithConfiguration:(CLMonitorConfiguration *)config
-							 completion:(void(^)(CLMonitor *monitor))completionHandler API_AVAILABLE(ios(17.0), macos(14.0), watchos(10.0)) API_UNAVAILABLE(tvos)
+							 completion:(void(^)(CLMonitor *monitor))completionHandler API_AVAILABLE(ios(17.0), macos(14.0)) API_UNAVAILABLE(watchos, tvos)
 #if defined(TARGET_OS_XR) && TARGET_OS_XR
 API_UNAVAILABLE(xros)
 #endif
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h	2023-05-31 23:45:38
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitorConfiguration.h	2023-06-14 00:47:13
@@ -24,7 +24,7 @@
  */
 NS_REFINED_FOR_SWIFT NS_SWIFT_SENDABLE
 CL_EXTERN
-API_AVAILABLE(macos(14.0), ios(17.0), watchos(10.0)) API_UNAVAILABLE(tvos)
+API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos)
 #if defined(TARGET_OS_XR) && TARGET_OS_XR
 API_UNAVAILABLE(xros)
 #endif
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h	2023-05-31 23:45:38
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringEvent.h	2023-06-14 00:47:13
@@ -32,7 +32,7 @@
  */
 NS_REFINED_FOR_SWIFT
 CL_EXTERN
-API_AVAILABLE(macos(14.0), ios(17.0), watchos(10.0)) API_UNAVAILABLE(tvos)
+API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos)
 #if defined(TARGET_OS_XR) && TARGET_OS_XR
 API_UNAVAILABLE(xros)
 #endif
diff -ruN /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h
--- /Applications/Xcode_15.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h	2023-05-31 23:45:39
+++ /Applications/Xcode_15.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/CoreLocation.framework/Headers/CLMonitoringRecord.h	2023-06-14 00:47:13
@@ -28,7 +28,7 @@
  */
 NS_REFINED_FOR_SWIFT
 CL_EXTERN
-API_AVAILABLE(macos(14.0), ios(17.0), watchos(10.0)) API_UNAVAILABLE(tvos)
+API_AVAILABLE(macos(14.0), ios(17.0)) API_UNAVAILABLE(watchos, tvos)
 #if defined(TARGET_OS_XR) && TARGET_OS_XR
 API_UNAVAILABLE(xros)
 #endif
Clone this wiki locally