- Notifications
You must be signed in to change notification settings - Fork548
HealthKit macOS xcode26.0 b2
Rolf Bjarne Kvinge edited this pageAug 28, 2025 ·3 revisions
#HealthKit.frameworkhttps://github.com/dotnet/macios/pull/23696
diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKLiveWorkoutDataSource.h /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKLiveWorkoutDataSource.h--- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKLiveWorkoutDataSource.h2025-05-24 23:32:23+++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKLiveWorkoutDataSource.h2025-06-14 12:01:59@@ -26,23 +26,10 @@ - (instancetype)init NS_UNAVAILABLE; /*!- @property currentCollectedTypes- @abstract The default quantity types that are being collected- @discussion: If types are manually enabled or disabled this property will not update- */-@property (copy, readonly) NSSet<HKQuantityType *> *currentCollectedTypes API_AVAILABLE(ios(26.0), watchos(26.0));--/*!- @property collectsGeneratedTypes- @abstract True if generated types are being collected.- */-@property (nonatomic, assign) BOOL collectsGeneratedTypes API_AVAILABLE(ios(26.0), watchos(26.0));--/*! @property typesToCollect @abstract The quantity types the receiver is collecting. */-@property (copy, readonly) NSSet<HKQuantityType *> *typesToCollect API_DEPRECATED_WITH_REPLACEMENT("currentCollectedTypes", watchos(5.0, 11.0)) API_UNAVAILABLE(ios, visionos);+@property (copy, readonly) NSSet<HKQuantityType *> *typesToCollect API_AVAILABLE(ios(26.0), watchos(5.0)); /*! @method initWithHealthStore:workoutConfiguration:diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutSession.h /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutSession.h--- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutSession.h2025-05-31 00:14:17+++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutSession.h2025-06-18 03:14:51@@ -126,12 +126,6 @@ @property (readonly, copy) HKWorkoutActivity *currentActivity API_AVAILABLE(ios(17.0), watchos(9.0)); /*!- @property currentGeneratedTypes- @abstract The quantity types the receiver is collecting.- */-@property (copy, readonly) NSSet<HKQuantityType *> *currentGeneratedTypes API_AVAILABLE(ios(26.0), watchos(26.0)) API_UNAVAILABLE(visionos) API_UNAVAILABLE(macos, macCatalyst, tvos);;--/*! @method initWithActivityType:locationType: @param activityType The activity type of the workout session.@@ -364,17 +358,6 @@ @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));--/*!- @method workoutSession:didUpdateGeneratedTypes:- @abstract This method is called when the generated types collected on session changed- @discussion With new sample types added or removed, statistics for the currentGeneratedTypes may have changed and should be read again-- @param workoutSession The workout data source which provides data for active workout session.- @param generatedTypes The full set of sample types that are currently generated.- */-- (void)workoutSession:(HKWorkoutSession *)workoutSession didUpdateGeneratedTypes:(NSSet<HKSampleType *> *)generatedTypes API_AVAILABLE(ios(26.0), watchos(26.0));- @end