Skip to content

HealthKit macOS xcode15.0 b5

Haritha Mohan edited this page Sep 5, 2023 · 5 revisions

#HealthKit.framework https://github.com/xamarin/xamarin-macios/pull/18927

diff -ruN /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutSession.h /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutSession.h
--- /Applications/Xcode_15.0.0-beta4.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutSession.h	2023-06-24 04:19:18
+++ /Applications/Xcode_15.0.0-beta5.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutSession.h	2023-07-18 00:07:27
@@ -347,22 +347,12 @@
  */
 - (void)workoutSession:(HKWorkoutSession *)workoutSession didReceiveDataFromRemoteWorkoutSession:(NSArray<NSData *> *)data API_AVAILABLE(ios(17.0), watchos(10.0));
 
-- (void)workoutSession:(HKWorkoutSession *)workoutSession didReceiveDataFromRemoteDevice:(NSData *)data API_AVAILABLE(ios(17.0), watchos(10.0));
-
 /*!
  @method        workoutSession:didDisconnectFromRemoteDeviceWithError:
  @abstract      This method is called when the session is disconnected from its remote counterpart.
  @discussion    After this method is called for a mirrored workout session, it is no longer considered valid.
  */
 - (void)workoutSession:(HKWorkoutSession *)workoutSession didDisconnectFromRemoteDeviceWithError:(nullable NSError *)error API_AVAILABLE(ios(17.0), watchos(10.0));
-
-@end
-
-// rdar://110495615 ([Mirrored Workouts] Remove older version of sendDataToRemoteWorkoutSession: after SessionTrackerApp adoption)
-@interface HKWorkoutSession (ToBeRemoved)
-
-- (void)deprecated_sendDataToRemoteWorkoutSession:(NSData *)data
-                                       completion:(void (^)(BOOL success, NSError * _Nullable error))completion API_AVAILABLE(ios(17.0), watchos(10.0)) NS_SWIFT_NAME(sendData(toRemoteWorkoutSession:completion:));
 
 @end
 
Clone this wiki locally