Skip to content

HealthKit iOS xcode26.0 b2

Alex Soto edited this page Jun 24, 2025 · 1 revision

#HealthKit.framework

diff -ruN /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKLiveWorkoutDataSource.h /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKLiveWorkoutDataSource.h
--- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKLiveWorkoutDataSource.h	2025-05-31 00:03:52
+++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKLiveWorkoutDataSource.h	2025-06-18 03:14:51
@@ -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/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutSession.h /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutSession.h
--- /Applications/Xcode_26.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutSession.h	2025-05-31 00:14:17
+++ /Applications/Xcode_26.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutSession.h	2025-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
 
Clone this wiki locally