Skip to content

HealthKit MacCatalyst xcode27.2 b3

Alex Soto edited this page Oct 17, 2026 · 1 revision

#HealthKit.framework

diff -ruN /Applications/Xcode_27.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKHealthStore.h /Applications/Xcode_27.2.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKHealthStore.h
--- /Applications/Xcode_27.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKHealthStore.h	2026-08-28 23:50:56
+++ /Applications/Xcode_27.2.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKHealthStore.h	2026-10-06 00:31:01
@@ -156,7 +156,7 @@
                             readable date, or with a non-nil error on failure.
  */
 - (void)getEarliestAuthorizedSampleDateForTypes:(NSSet<HKObjectType *> *)types
-                                     completion:(void(^ NS_SWIFT_SENDABLE)(NSDictionary<HKObjectType *, NSDate *> * _Nullable earliestDates, NSError * _Nullable error))completion NS_REFINED_FOR_SWIFT_ASYNC(2) API_AVAILABLE(ios(27.0), watchos(27.0), macCatalyst(27.0), macos(27.0), visionos(27.0));
+                                     completion:(void(^ NS_SWIFT_SENDABLE)(NSDictionary<HKObjectType *, NSDate *> * _Nullable earliestDates, NSError * _Nullable error))completion API_AVAILABLE(ios(27.0), watchos(27.0), macCatalyst(27.0), macos(27.0), visionos(27.0));
 
 /*!
  @method        saveObject:withCompletion:
diff -ruN /Applications/Xcode_27.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKMetadataEnums.h /Applications/Xcode_27.2.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKMetadataEnums.h
--- /Applications/Xcode_27.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKMetadataEnums.h	2026-08-08 20:49:34
+++ /Applications/Xcode_27.2.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKMetadataEnums.h	2026-10-06 01:13:47
@@ -2,7 +2,7 @@
 //  HKMetadataEnums.h
 //  HealthKit
 //
-//  Copyright © 2013-2025 Apple, Inc. All rights reserved.
+//  Copyright © 2013-2026 Apple, Inc. All rights reserved.
 //
 
 #import <Foundation/Foundation.h>
@@ -109,11 +109,14 @@
  @constant      HKHeartRateRecoveryTestTypePredictionNonExercise        A non-exercise equation was used based on user
                                                                         metrics to calculate a predicted Heart Rate
                                                                         Recovery.
+ @constant      HKHeartRateRecoveryTestTypeStepTest                     The step test protocol was used to calculate and
+                                                                        correlate a predicted Heart Rate Recovery.
  */
 typedef NS_ENUM(NSInteger, HKHeartRateRecoveryTestType) {
     HKHeartRateRecoveryTestTypeMaxExercise = 1,
     HKHeartRateRecoveryTestTypePredictionSubMaxExercise,
     HKHeartRateRecoveryTestTypePredictionNonExercise,
+    HKHeartRateRecoveryTestTypeStepTest API_AVAILABLE(ios(27.2), watchos(27.2), macCatalyst(27.2), macos(27.2)),
 } API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0));
 
 typedef NS_ENUM(NSInteger, HKHeartRateSensorLocation) {
diff -ruN /Applications/Xcode_27.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKTypeIdentifiers.h /Applications/Xcode_27.2.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKTypeIdentifiers.h
--- /Applications/Xcode_27.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKTypeIdentifiers.h	2026-08-10 23:33:24
+++ /Applications/Xcode_27.2.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKTypeIdentifiers.h	2026-10-08 03:19:11
@@ -141,7 +141,7 @@
 HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierNumberOfAlcoholicBeverages API_AVAILABLE(ios(15.0), watchos(8.0), macCatalyst(15.0), macos(13.0), visionos(1.0));          // count, Cumulative
 HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierNumberOfTimesFallen API_AVAILABLE(ios(8.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                  // count, Cumulative
 HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierTimeInDaylight API_AVAILABLE(ios(17.0), watchos(10.0), macCatalyst(17.0), macos(14.0), visionos(1.0));                     // min, Cumulative
-HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierUVExposure API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                           // count, Discrete (Arithmetic)
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierUVExposure API_AVAILABLE(ios(9.0), watchos(2.0), macCatalyst(13.0), macos(13.0), visionos(1.0));                           // , Discrete (Arithmetic)
 HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierWaterTemperature API_AVAILABLE(ios(16.0), watchos(9.0), macCatalyst(16.0), macos(13.0), visionos(1.0));                    // degC, Discrete (Arithmetic)
 
 // Reproductive Health
diff -ruN /Applications/Xcode_27.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKUnit.h /Applications/Xcode_27.2.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKUnit.h
--- /Applications/Xcode_27.1.0.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKUnit.h	2026-08-08 20:49:35
+++ /Applications/Xcode_27.2.0-beta3.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX.sdk/System/iOSSupport/System/Library/Frameworks/HealthKit.framework/Headers/HKUnit.h	2026-10-06 00:31:01
@@ -196,9 +196,9 @@
 @interface HKUnit (Energy)
 + (instancetype)jouleUnitWithMetricPrefix:(HKMetricPrefix)prefix;      // J
 + (instancetype)jouleUnit;          // J
-+ (instancetype)kilocalorieUnit;    // 1 kcal = 4184.0 J
-+ (instancetype)smallCalorieUnit API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));    // 1 cal = 4.1840 J
-+ (instancetype)largeCalorieUnit API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));    // 1 Cal = 4184.0 J
++ (instancetype)kilocalorieUnit;    // kcal (1 kcal = 4184.0 J)
++ (instancetype)smallCalorieUnit API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));    // cal (1 cal = 4.1840 J)
++ (instancetype)largeCalorieUnit API_AVAILABLE(ios(11.0), watchos(4.0), macCatalyst(13.0), macos(13.0));    // Cal (1 Cal = 4184.0 J; distinct unit object from kilocalorieUnit, so -isEqual: returns NO — convert via HKQuantity to compare magnitudes)
 + (instancetype)calorieUnit API_DEPRECATED("Use smallCalorieUnit or largeCalorieUnit, depending on which you mean", ios(8.0, 11.0), watchos(2.0, 4.0));
 @end
 

Clone this wiki locally