-
Notifications
You must be signed in to change notification settings - Fork 516
HealthKit iOS xcode13.0 beta1
Manuel de la Pena edited this page Jul 22, 2021
·
3 revisions
#HealthKit.framework https://github.com/xamarin/xamarin-macios/pull/12184
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKActivitySummary.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKActivitySummary.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKActivitySummary.h 2021-03-16 08:47:05.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKActivitySummary.h 2021-06-02 12:46:40.000000000 -0400
@@ -97,4 +97,3 @@
HK_EXTERN NSString * const HKPredicateKeyPathDateComponents API_AVAILABLE(ios(9.3), watchos(2.2));
NS_ASSUME_NONNULL_END
-
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKAnchoredObjectQuery.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKAnchoredObjectQuery.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKAnchoredObjectQuery.h 2021-03-16 08:47:07.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKAnchoredObjectQuery.h 2021-06-02 12:43:47.000000000 -0400
@@ -7,6 +7,7 @@
#import <HealthKit/HKQuery.h>
#import <HealthKit/HKQueryAnchor.h>
+#import <HealthKit/HKQueryDescriptor.h>
@class HKDeletedObject;
@@ -58,6 +59,21 @@
limit:(NSUInteger)limit
completionHandler:(void(^)(HKAnchoredObjectQuery *query, NSArray<__kindof HKSample *> * __nullable results, NSUInteger newAnchor, NSError * __nullable error))handler API_DEPRECATED_WITH_REPLACEMENT("initWithType:predicate:anchor:limit:resultsHandler:", ios(8.0, 9.0));
+/*!
+ @method initWithQueryDescriptors:anchor:limit:resultsHandler
+ @abstract Returns a query that will retrieve HKSamples and HKDeletedObjects matching the given query descriptors that are newer than the given anchor.
+ @discussion If no updateHandler is set on the query, the query will automatically stop after calling resultsHandler. Otherwise, the query continues to run and call updateHandler as samples matching the query descriptors are created or deleted.
+
+ @param queryDescriptors An array of query descriptors that describes the sample types and predicates that you're interested in getting notified for.
+ @param anchor The anchor which was returned by a previous HKAnchoredObjectQuery result or update handler. Pass nil when querying for the first time.
+ @param limit The maximum number of samples and deleted objects to return. Pass HKObjectQueryNoLimit for no limit.
+ @param handler The block to invoke with results when the query has finished finding.
+*/
+- (instancetype)initWithQueryDescriptors:(NSArray<HKQueryDescriptor *> *)queryDescriptors
+ anchor:(nullable HKQueryAnchor *)anchor
+ limit:(NSInteger)limit
+ resultsHandler:(void(^)(HKAnchoredObjectQuery *query, NSArray<__kindof HKSample *> * _Nullable sampleObjects, NSArray<HKDeletedObject *> * _Nullable deletedObjects, HKQueryAnchor * _Nullable newAnchor, NSError * _Nullable error))handler API_AVAILABLE(ios(15.0), watchos(8.0));
+
@end
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKAppleWalkingSteadinessClassification.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKAppleWalkingSteadinessClassification.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKAppleWalkingSteadinessClassification.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKAppleWalkingSteadinessClassification.h 2021-06-02 12:46:40.000000000 -0400
@@ -0,0 +1,48 @@
+//
+// HKAppleWalkingSteadinessClassification.h
+// HealthKit
+//
+// Copyright © 2020 Apple. All rights reserved.
+//
+
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+@class HKQuantity;
+
+/*!
+ @enum HKAppleWalkingSteadinessClassification
+ @abstract This enumerated type is used to represent the classification for the user's walking steadiness.
+ @constant HKAppleWalkingSteadinessClassificationOK Walking steadiness is OK.
+ @constant HKAppleWalkingSteadinessClassificationLow Walking steadiness is Low.
+ @constant HKAppleWalkingSteadinessClassificationVeryLow Walking steadiness is Very Low.
+ */
+typedef NS_ENUM(NSInteger, HKAppleWalkingSteadinessClassification) {
+ HKAppleWalkingSteadinessClassificationOK NS_SWIFT_NAME(ok) = 1,
+ HKAppleWalkingSteadinessClassificationLow,
+ HKAppleWalkingSteadinessClassificationVeryLow,
+} API_AVAILABLE(ios(15.0), watchos(8.0));
+
+/*!
+ @abstract Determines the Apple Walking Steadiness classification for the provided Apple Walking Steadiness value.
+ @param value Apple Walking Steadiness quantity with expected value between 0% and 100%.
+ @param classificationOut a pointer to the classification determined for the provided value
+ @param errorOut A pointer to an error describing why an unknown classification was returned.
+ @return YES if the classification was successful. NO otherwise if the provided value could not be classified.
+ */
+HK_EXTERN BOOL HKAppleWalkingSteadinessClassificationForQuantity(HKQuantity *value, HKAppleWalkingSteadinessClassification *classificationOut, NSError **errorOut) API_AVAILABLE(ios(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
+
+/*!
+ @abstract Retrieves the minimum quantity in percent unit for an Apple Walking Steadiness classification.
+ @param classification Apple Walking Steadiness classification for desired minimum value.
+ */
+HK_EXTERN HKQuantity * HKAppleWalkingSteadinessMinimumQuantityForClassification(HKAppleWalkingSteadinessClassification classification) API_AVAILABLE(ios(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
+
+/*!
+ @abstract Retrieves the maximum quantity in percent unit for an Apple Walking Steadiness classification.
+ @param classification Apple Walking Steadiness classification for desired maximum value.
+ */
+HK_EXTERN HKQuantity * HKAppleWalkingSteadinessMaximumQuantityForClassification(HKAppleWalkingSteadinessClassification classification) API_AVAILABLE(ios(15.0), watchos(8.0)) NS_REFINED_FOR_SWIFT;
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKClinicalRecord.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKClinicalRecord.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKClinicalRecord.h 2021-03-16 08:47:08.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKClinicalRecord.h 2021-06-02 12:46:43.000000000 -0400
@@ -43,6 +43,9 @@
*/
@property (copy, readonly, nullable) HKFHIRResource *FHIRResource;
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
@end
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKClinicalType.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKClinicalType.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKClinicalType.h 2021-03-16 08:47:05.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKClinicalType.h 2021-06-02 12:46:40.000000000 -0400
@@ -24,7 +24,11 @@
HK_EXTERN HKClinicalTypeIdentifier const HKClinicalTypeIdentifierCoverageRecord API_AVAILABLE(ios(14.0), watchos(7.0));
@interface HKObjectType (ClinicalType)
+#if __swift__
++ (nullable HKClinicalType *)clinicalTypeForIdentifier:(HKClinicalTypeIdentifier)identifier API_DEPRECATED_WITH_REPLACEMENT("HKClinicalType(_:)", ios(12.0, API_TO_BE_DEPRECATED), watchos(5.0, API_TO_BE_DEPRECATED));
+#else
+ (nullable HKClinicalType *)clinicalTypeForIdentifier:(HKClinicalTypeIdentifier)identifier API_AVAILABLE(ios(12.0), watchos(5.0));
+#endif
@end
HK_EXTERN
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKDefines.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKDefines.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKDefines.h 2021-03-16 09:56:00.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKDefines.h 2021-06-02 11:08:34.000000000 -0400
@@ -188,7 +188,7 @@
/*!
@enum HKCategoryValueCervicalMucusQuality
- @abstract Set of values that may be used for HKCategorySamples with the HKCategoryValueCervicalMucusQuality type.
+ @abstract Set of values that may be used for HKCategorySamples with the HKCategoryTypeIdentifierCervicalMucusQuality type.
@discussion These cervical mucus quality values are ordered from least-fertile (Dry) to most-fertile (EggWhite).
*/
typedef NS_ENUM(NSInteger, HKCategoryValueCervicalMucusQuality) {
@@ -201,7 +201,7 @@
/*!
@enum HKCategoryValueOvulationTestResult
- @abstract Set of values that may be used for HKCategorySamples with the HKCategoryValueOvulationTestResult type.
+ @abstract Set of values that may be used for HKCategorySamples with the HKCategoryTypeIdentifierOvulationTestResult type.
@discussion This category value tracks the result of a home ovulation test that use surges in hormone levels to
indicate fertility.
*/
@@ -214,6 +214,30 @@
} API_AVAILABLE(ios(9.0), watchos(2.0));
/*!
+ @enum HKCategoryValuePregnancyTestResult
+ @abstract Set of values that may be used for HKCategorySamples with the HKCategoryTypeIdentifierPregnancyTestResult type.
+ @discussion This category value tracks the result of a home pregnancy test that checks for presence of the human chorionic
+ gonadotrophin (hCG) hormone in urine to confirm pregnancy.
+ */
+typedef NS_ENUM(NSInteger, HKCategoryValuePregnancyTestResult) {
+ HKCategoryValuePregnancyTestResultNegative = 1,
+ HKCategoryValuePregnancyTestResultPositive,
+ HKCategoryValuePregnancyTestResultIndeterminate,
+} API_AVAILABLE(ios(15.0), watchos(8.0));
+
+/*!
+ @enum HKCategoryValueProgesteroneTestResult
+ @abstract Set of values that may be used for HKCategorySamples with the HKCategoryTypeIdentifierProgesteroneTestResult type.
+ @discussion This category value tracks the result of a home ovulation confirmation test that use surges in hormone levels to
+ confirm if ovulation has occurred.
+ */
+typedef NS_ENUM(NSInteger, HKCategoryValueProgesteroneTestResult) {
+ HKCategoryValueProgesteroneTestResultNegative = 1,
+ HKCategoryValueProgesteroneTestResultPositive,
+ HKCategoryValueProgesteroneTestResultIndeterminate,
+} API_AVAILABLE(ios(15.0), watchos(8.0));
+
+/*!
@enum HKCategoryValueMenstrualFlow
@abstract Set of values to indicate the type of menstrual flow.
*/
@@ -328,4 +352,19 @@
HKActivityMoveModeAppleMoveTime = 2,
} API_AVAILABLE(ios(14.0), watchos(7.0));
+/*!
+@enum HKCategoryValueAppleWalkingSteadinessEvent
+@abstract Specifies the kind of Apple Walking Steadiness event associated with the sample.
+@constant HKCategoryValueAppleWalkingSteadinessEventInitialLow This constant defines Apple Walking Steadiness events associated with the user's walking steadiness being low.
+@constant HKCategoryValueAppleWalkingSteadinessEventInitialVeryLow This constant defines Apple Walking Steadiness events associated with the user's walking steadiness being very low.
+@constant HKCategoryValueAppleWalkingSteadinessEventRepeatLow This constant defines Apple Walking Steadiness events associated with the user's walking steadiness remaining low over a significant time period.
+@constant HKCategoryValueAppleWalkingSteadinessEventRepeatVeryLow This constant defines Apple Walking Steadiness events associated with the user's walking steadiness remaining very low over a significant time period.
+*/
+typedef NS_ENUM(NSInteger, HKCategoryValueAppleWalkingSteadinessEvent) {
+ HKCategoryValueAppleWalkingSteadinessEventInitialLow = 1,
+ HKCategoryValueAppleWalkingSteadinessEventInitialVeryLow = 2,
+ HKCategoryValueAppleWalkingSteadinessEventRepeatLow = 3,
+ HKCategoryValueAppleWalkingSteadinessEventRepeatVeryLow = 4,
+} API_AVAILABLE(ios(15.0), watchos(8.0));
+
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKHealthStore.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKHealthStore.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKHealthStore.h 2021-03-16 08:44:18.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKHealthStore.h 2021-06-02 12:46:42.000000000 -0400
@@ -77,7 +77,7 @@
*/
- (void)requestAuthorizationToShareTypes:(nullable NSSet<HKSampleType *> *)typesToShare
readTypes:(nullable NSSet<HKObjectType *> *)typesToRead
- completion:(void (^)(BOOL success, NSError * _Nullable error))completion;
+ completion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_REFINED_FOR_SWIFT_ASYNC(3) NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
/*!
@method getRequestStatusForAuthorizationToShareTypes:readTypes:completion:
@@ -89,7 +89,7 @@
*/
- (void)getRequestStatusForAuthorizationToShareTypes:(NSSet<HKSampleType *> *)typesToShare
readTypes:(NSSet<HKObjectType *> *)typesToRead
- completion:(void (^)(HKAuthorizationRequestStatus requestStatus, NSError * _Nullable error))completion API_AVAILABLE(ios(12.0), watchos(5.0));
+ completion:(void (^)(HKAuthorizationRequestStatus requestStatus, NSError * _Nullable error))completion NS_SWIFT_ASYNC_NAME(statusForAuthorizationRequest(toShare:read:)) API_AVAILABLE(ios(12.0), watchos(5.0));
/*!
@method handleAuthorizationForExtensionWithCompletion:
@@ -103,7 +103,7 @@
the user, if necessary, completed successfully and was not cancelled by the user. It does NOT indicate
whether the application was granted authorization.
*/
-- (void)handleAuthorizationForExtensionWithCompletion:(void (^)(BOOL success, NSError * _Nullable error))completion API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_EXTENSION_UNAVAILABLE("Not available to extensions");
+- (void)handleAuthorizationForExtensionWithCompletion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1) API_AVAILABLE(ios(9.0)) API_UNAVAILABLE(watchos) NS_EXTENSION_UNAVAILABLE("Not available to extensions");
/*!
@method earliestPermittedSampleDate
@@ -129,21 +129,21 @@
This operation is performed asynchronously and the completion will be executed on an arbitrary
background queue.
*/
-- (void)saveObject:(HKObject *)object withCompletion:(void(^)(BOOL success, NSError * _Nullable error))completion;
+- (void)saveObject:(HKObject *)object withCompletion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
/*!
@method saveObjects:withCompletion:
@abstract Saves an array of HKObjects.
@discussion See discussion of saveObject:withCompletion:.
*/
-- (void)saveObjects:(NSArray<HKObject *> *)objects withCompletion:(void(^)(BOOL success, NSError * _Nullable error))completion;
+- (void)saveObjects:(NSArray<HKObject *> *)objects withCompletion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
/*!
@method deleteObject:withCompletion:
@abstract Deletes a single HKObject from the HealthKit database.
@discussion See deleteObjects:withCompletion:.
*/
-- (void)deleteObject:(HKObject *)object withCompletion:(void(^)(BOOL success, NSError * _Nullable error))completion;
+- (void)deleteObject:(HKObject *)object withCompletion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
/*!
@method deleteObjects:withCompletion:
@@ -151,7 +151,7 @@
@discussion An application may only delete objects that it previously saved. This operation is performed
asynchronously and the completion will be executed on an arbitrary background queue.
*/
-- (void)deleteObjects:(NSArray<HKObject *> *)objects withCompletion:(void(^)(BOOL success, NSError * _Nullable error))completion API_AVAILABLE(ios(9.0), watchos(2.0));
+- (void)deleteObjects:(NSArray<HKObject *> *)objects withCompletion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1) API_AVAILABLE(ios(9.0), watchos(2.0));
/*!
@method deleteObjectsOfType:predicate:withCompletion:
@@ -159,7 +159,7 @@
@discussion An application may only delete objects that it previously saved. This operation is performed
asynchronously and the completion will be executed on an arbitrary background queue.
*/
-- (void)deleteObjectsOfType:(HKObjectType *)objectType predicate:(NSPredicate *)predicate withCompletion:(void(^)(BOOL success, NSUInteger deletedObjectCount, NSError * _Nullable error))completion API_AVAILABLE(ios(9.0), watchos(2.0));
+- (void)deleteObjectsOfType:(HKObjectType *)objectType predicate:(NSPredicate *)predicate withCompletion:(void (^)(BOOL success, NSUInteger deletedObjectCount, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1) API_AVAILABLE(ios(9.0), watchos(2.0));
/*!
@method executeQuery:
@@ -261,7 +261,7 @@
The workout provided must be one that has already been saved to HealthKit.
*/
-- (void)addSamples:(NSArray<HKSample *> *)samples toWorkout:(HKWorkout *)workout completion:(void(^)(BOOL success, NSError * _Nullable error))completion;
+- (void)addSamples:(NSArray<HKSample *> *)samples toWorkout:(HKWorkout *)workout completion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_NAME(addSamples(_:to:)) NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
/*!
@method startWorkoutSession:
@@ -306,14 +306,14 @@
protocol will be called with the HKWorkoutConfiguration as a parameter. The receiving Watch app can use
this configuration object to create an HKWorkoutSession and start it with -startWorkoutSession:.
*/
-- (void)startWatchAppWithWorkoutConfiguration:(HKWorkoutConfiguration *)workoutConfiguration completion:(void (^)(BOOL success, NSError * _Nullable error))completion API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos);
+- (void)startWatchAppWithWorkoutConfiguration:(HKWorkoutConfiguration *)workoutConfiguration completion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1) NS_SWIFT_ASYNC_NAME(startWatchApp(toHandle:)) API_AVAILABLE(ios(10.0)) API_UNAVAILABLE(watchos);
/*!
@method recoverActiveWorkoutSessionWithCompletion:
@abstract Recovers an active workout session after a client crash. If no session is available to be re-attached,
nil will be returned. If an error occurs, session will be nil and error will be set appropriately.
*/
-- (void)recoverActiveWorkoutSessionWithCompletion:(void (^)(HKWorkoutSession * _Nullable session, NSError * _Nullable error))completion API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios);
+- (void)recoverActiveWorkoutSessionWithCompletion:(void (^)(HKWorkoutSession * _Nullable_result session, NSError * _Nullable error))completion API_AVAILABLE(watchos(5.0)) API_UNAVAILABLE(ios);
@end
@@ -329,11 +329,11 @@
HKQuantityTypeIdentifierStepCount) have a minimum frequency of HKUpdateFrequencyHourly. This is enforced
transparently to the caller.
*/
-- (void)enableBackgroundDeliveryForType:(HKObjectType *)type frequency:(HKUpdateFrequency)frequency withCompletion:(void(^)(BOOL success, NSError * _Nullable error))completion API_UNAVAILABLE(watchos);
+- (void)enableBackgroundDeliveryForType:(HKObjectType *)type frequency:(HKUpdateFrequency)frequency withCompletion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1) API_AVAILABLE(watchos(8.0));
-- (void)disableBackgroundDeliveryForType:(HKObjectType *)type withCompletion:(void(^)(BOOL success, NSError * _Nullable error))completion API_UNAVAILABLE(watchos);
+- (void)disableBackgroundDeliveryForType:(HKObjectType *)type withCompletion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1) API_AVAILABLE(watchos(8.0));
-- (void)disableAllBackgroundDeliveryWithCompletion:(void(^)(BOOL success, NSError * _Nullable error))completion API_UNAVAILABLE(watchos);
+- (void)disableAllBackgroundDeliveryWithCompletion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1) API_AVAILABLE(watchos(8.0));
@end
@@ -363,7 +363,21 @@
The returned dictionary will map HKQuantityType to HKUnit.
*/
-- (void)preferredUnitsForQuantityTypes:(NSSet<HKQuantityType *> *)quantityTypes completion:(void(^)(NSDictionary<HKQuantityType *, HKUnit *> *preferredUnits, NSError * _Nullable error))completion API_AVAILABLE(ios(8.2), watchos(2.0));
+- (void)preferredUnitsForQuantityTypes:(NSSet<HKQuantityType *> *)quantityTypes completion:(void (^)(NSDictionary<HKQuantityType *, HKUnit *> *preferredUnits, NSError * _Nullable error))completion API_AVAILABLE(ios(8.2), watchos(2.0));
+
+@end
+
+@interface HKHealthStore (HKRecalibrateEstimates)
+
+/*!
+@method recalibrateEstimatesForSampleType:atDate:completion:
+@abstract Recalibrates the prediction algorithm used for this sample type.
+@discussion Check -[HKSampleType allowsRecalibrationForEstimates] to see if a given sample type is supported. Calling this method results in first-party
+ estimation algorithms to recalibrate what data is used when generating values for HKSamples of this sampleType.
+ */
+- (void)recalibrateEstimatesForSampleType:(HKSampleType *)sampleType
+ atDate:(NSDate *)date
+ completion:(void(^)(BOOL success, NSError * _Nullable error))completion API_AVAILABLE(ios(15.0), watchos(8.0)) NS_SWIFT_ASYNC_THROWS_ON_FALSE(1) NS_SWIFT_NAME(recalibrateEstimates(sampleType:date:completion:));
@end
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKHeartbeatSeriesBuilder.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKHeartbeatSeriesBuilder.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKHeartbeatSeriesBuilder.h 2021-03-16 05:18:08.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKHeartbeatSeriesBuilder.h 2021-06-02 07:33:56.000000000 -0400
@@ -51,16 +51,16 @@
@abstract Associate a heartbeat with the receiver.
@discussion Use this method to asynchronously add a heartbeat to the series.
- @param timeInterval The elapsed time between the series startDate and the heartbeat occurence. Must be
+ @param timeIntervalSinceStart The elapsed time between the series startDate and the heartbeat occurence. Must be
a positive value.
@param precededByGap Whether or not this heartbeat was preceded by a gap in data collection.
@param completion The completion callback handler returns the status of the save. If the completion
handler success is NO, then error is non-nil. An error here is considered fatal and
the series builder will be complete.
*/
-- (void)addHeartbeatWithTimeIntervalSinceSeriesStartDate:(NSTimeInterval)timeInterval
+- (void)addHeartbeatWithTimeIntervalSinceSeriesStartDate:(NSTimeInterval)timeIntervalSinceStart
precededByGap:(BOOL)precededByGap
- completion:(void(^)(BOOL success, NSError * _Nullable error))completion;
+ completion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_NAME(addHeartbeat(at:precededByGap:)) NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
/*!
@method addMetadata:completion:
@@ -77,7 +77,7 @@
insertion operation. When an error occurs, the builder's metadata will remain unchanged.
*/
- (void)addMetadata:(NSDictionary<NSString *, id> *)metadata
- completion:(void(^)(BOOL success, NSError * _Nullable error))completion;
+ completion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
/*!
@method finishSeriesWithCompletion:
@@ -93,7 +93,7 @@
HKHeartbeatSeriesSample can be made through HKSampleQuery or similar queries. To
retrieve the data stored with an HKHeartbeatSeriesSample use HKHeartbeatSeriesQuery.
*/
-- (void)finishSeriesWithCompletion:(void(^)(HKHeartbeatSeriesSample * _Nullable heartbeatSeries, NSError * _Nullable error))completion;
+- (void)finishSeriesWithCompletion:(void (^)(HKHeartbeatSeriesSample * _Nullable heartbeatSeries, NSError * _Nullable error))completion;
@end
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKMetadata.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKMetadata.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKMetadata.h 2021-03-16 09:56:00.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKMetadata.h 2021-06-02 12:43:48.000000000 -0400
@@ -588,4 +588,11 @@
*/
HK_EXTERN NSString * const HKMetadataKeyLowCardioFitnessEventThreshold API_AVAILABLE(ios(14.3), watchos(7.2));
+/*!
+@constant HKMetadataKeyDateOfEarliestDataUsedForEstimate
+@abstract Represents how far back an estimation algorithm incorporated data from.
+@discussion The expected value is an NSDate indicating the earliest date of data used to produce an estimated value for an HKSample.
+*/
+HK_EXTERN NSString * const HKMetadataKeyDateOfEarliestDataUsedForEstimate API_AVAILABLE(ios(15.0), watchos(8.0));
+
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKObjectType.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKObjectType.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKObjectType.h 2021-03-16 05:18:08.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKObjectType.h 2021-06-02 12:43:47.000000000 -0400
@@ -39,11 +39,19 @@
- (instancetype)init NS_UNAVAILABLE;
+#if __swift__
++ (nullable HKQuantityType *)quantityTypeForIdentifier:(HKQuantityTypeIdentifier)identifier API_DEPRECATED_WITH_REPLACEMENT("HKQuantityType(_:)", ios(8.0, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED));
++ (nullable HKCategoryType *)categoryTypeForIdentifier:(HKCategoryTypeIdentifier)identifier API_DEPRECATED_WITH_REPLACEMENT("HKCategoryType(_:)", ios(8.0, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED));
++ (nullable HKCharacteristicType *)characteristicTypeForIdentifier:(HKCharacteristicTypeIdentifier)identifier API_DEPRECATED_WITH_REPLACEMENT("HKCharacteristicType(_:)", ios(8.0, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED));
++ (nullable HKCorrelationType *)correlationTypeForIdentifier:(HKCorrelationTypeIdentifier)identifier API_DEPRECATED_WITH_REPLACEMENT("HKCorrelationType(_:)", ios(8.0, API_TO_BE_DEPRECATED), watchos(2.0, API_TO_BE_DEPRECATED));
++ (nullable HKDocumentType *)documentTypeForIdentifier:(HKDocumentTypeIdentifier)identifier API_DEPRECATED_WITH_REPLACEMENT("HKDocumentType(_:)", ios(10.0, API_TO_BE_DEPRECATED), watchos(3.0, API_TO_BE_DEPRECATED));
+#else
+ (nullable HKQuantityType *)quantityTypeForIdentifier:(HKQuantityTypeIdentifier)identifier;
+ (nullable HKCategoryType *)categoryTypeForIdentifier:(HKCategoryTypeIdentifier)identifier;
+ (nullable HKCharacteristicType *)characteristicTypeForIdentifier:(HKCharacteristicTypeIdentifier)identifier;
+ (nullable HKCorrelationType *)correlationTypeForIdentifier:(HKCorrelationTypeIdentifier)identifier;
+ (nullable HKDocumentType *)documentTypeForIdentifier:(HKDocumentTypeIdentifier)identifier API_AVAILABLE(ios(10.0), watchos(3.0));
+#endif
+ (nullable HKSeriesType *)seriesTypeForIdentifier:(NSString *)identifier API_AVAILABLE(ios(11.0), watchos(4.0));
+ (HKWorkoutType *)workoutType;
+ (HKActivitySummaryType *)activitySummaryType API_AVAILABLE(ios(9.3), watchos(2.2));
@@ -95,6 +103,13 @@
*/
@property (nonatomic, readonly) NSTimeInterval minimumAllowedDuration API_AVAILABLE(ios(13.0), watchos(6.0));
+/*!
+ @property allowsRecalibrationForEstimates
+ @abstract Returns YES if first-party samples of this type are produced using a prediction algorithm, and that algorithm supports recalibration. To recalibrate the
+ estimates for a sample type, see -[HKHealthStore recalibrateEstimatesForSampleType:atDate:completion:]
+ */
+@property (nonatomic, readonly) BOOL allowsRecalibrationForEstimates API_AVAILABLE(ios(15.0), watchos(8.0));
+
@end
/*!
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKObserverQuery.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKObserverQuery.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKObserverQuery.h 2021-03-16 08:47:06.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKObserverQuery.h 2021-06-02 12:46:41.000000000 -0400
@@ -6,6 +6,7 @@
//
#import <HealthKit/HKQuery.h>
+#import <HealthKit/HKQueryDescriptor.h>
NS_ASSUME_NONNULL_BEGIN
@@ -26,6 +27,17 @@
predicate:(nullable NSPredicate *)predicate
updateHandler:(void(^)(HKObserverQuery *query, HKObserverQueryCompletionHandler completionHandler, NSError * _Nullable error))updateHandler;
+/*!
+ @method initWithQueryDescriptors:updateHandler:
+ @abstract This method installs a handler that is called when a sample matching the query descriptors is added.
+ @discussion If you have subscribed to background updates you must call the passed completion block
+ once you have processed data from this notification. Otherwise the system will continue
+ to notify you of this data.
+
+ @param queryDescriptors An array of query descriptors that describes the sample types and predicates that you're interested in getting notified for.
+ */
+- (instancetype)initWithQueryDescriptors:(NSArray<HKQueryDescriptor *> *)queryDescriptors
+ updateHandler:(void(^)(HKObserverQuery *query, NSSet<HKSampleType *> * _Nullable sampleTypesAdded, HKObserverQueryCompletionHandler completionHandler, NSError * _Nullable error))updateHandler API_AVAILABLE(ios(15.0), watchos(8.0));
@end
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKQuery.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKQuery.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKQuery.h 2021-03-16 08:44:18.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKQuery.h 2021-06-02 07:33:58.000000000 -0400
@@ -368,6 +368,20 @@
@param symptomsStatus The symptoms status for the electrocardiogram.
*/
+ (NSPredicate *)predicateForElectrocardiogramsWithSymptomsStatus:(HKElectrocardiogramSymptomsStatus)symptomsStatus API_AVAILABLE(ios(14.0), watchos(7.0)) NS_SWIFT_NAME(predicateForElectrocardiograms(symptomsStatus:));
+
+@end
+
+@interface HKQuery (HKVerifiableClinicalRecordPredicates)
+
+/**
+ @method predicateForVerifiableClinicalRecordsWithRelevantDateWithinDateInterval:
+ @abstract Creates a predicate for use with HKQuery subclasses.
+ @discussion Creates a predicate that matches HKVerifiableClinicalRecords with a relevant date within a date interval.
+
+ @param dateInterval The date interval that the record's relevant date is in.
+ */
++ (NSPredicate *)predicateForVerifiableClinicalRecordsWithRelevantDateWithinDateInterval:(NSDateInterval *)dateInterval API_AVAILABLE(ios(15.0)) NS_SWIFT_NAME(predicateForVerifiableClinicalRecords(withRelevantDateWithin:));
+
@end
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKQueryDescriptor.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKQueryDescriptor.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKQueryDescriptor.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKQueryDescriptor.h 2021-06-02 12:46:41.000000000 -0400
@@ -0,0 +1,43 @@
+//
+// HKQueryDescriptor.h
+// HealthKit
+//
+// Copyright © 2020 Apple. All rights reserved.
+//
+
+#import <HealthKit/HKDefines.h>
+#import <HealthKit/HKObjectType.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+HK_EXTERN API_AVAILABLE(ios(15.0), watchos(8.0))
+@interface HKQueryDescriptor : NSObject<NSCopying, NSSecureCoding>
+
+/*!
+ @property sampleType
+ @abstract The type of sample to retrieve in an HKQuery.
+ */
+@property (nonatomic, readonly, copy) HKSampleType *sampleType;
+
+/*!
+ @property predicate
+ @abstract The predicate which samples should match.
+ */
+@property (nonatomic, readonly, copy, nullable) NSPredicate *predicate;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+/*!
+ @method initWithSampleType:predicate:
+ @abstract Returns a query descriptor that describes a data type and predicate to be used in an HKQuery.
+
+ @param sampleType The type of sample to retrieve.
+ @param predicate The predicate which samples should match.
+*/
+- (instancetype)initWithSampleType:(HKSampleType *)sampleType
+ predicate:(nullable NSPredicate *)predicate NS_DESIGNATED_INITIALIZER;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKSampleQuery.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKSampleQuery.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKSampleQuery.h 2021-03-16 08:47:06.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKSampleQuery.h 2021-06-02 07:35:40.000000000 -0400
@@ -6,6 +6,7 @@
//
#import <HealthKit/HKQuery.h>
+#import <HealthKit/HKQueryDescriptor.h>
NS_ASSUME_NONNULL_BEGIN
@@ -47,7 +48,31 @@
sortDescriptors:(nullable NSArray<NSSortDescriptor *> *)sortDescriptors
resultsHandler:(void(^)(HKSampleQuery *query, NSArray<__kindof HKSample *> * _Nullable results, NSError * _Nullable error))resultsHandler;
+/*!
+ @method initWithQueryDescriptors:limit:resultsHandler:
+ @abstract Returns a query that will retrieve HKSamples matching the given queryDescriptors.
+
+ @param queryDescriptors An array of query descriptors that describes the sample types and predicates used for querying.
+ @param limit The maximum number of samples to return. Pass HKObjectQueryNoLimit for no limit.
+ @param resultsHandler The block to invoke with results when the query has finished executing. This block is invoked once with results, an array of HKSamples matching the queryDescriptors passed in, or nil if an error occurred.
+ */
+- (instancetype)initWithQueryDescriptors:(NSArray<HKQueryDescriptor *> *)queryDescriptors
+ limit:(NSInteger)limit
+ resultsHandler:(void(^)(HKSampleQuery *query, NSArray<__kindof HKSample *> * _Nullable results, NSError * _Nullable error))resultsHandler API_AVAILABLE(ios(15.0), watchos(8.0));
+/*!
+ @method initWithQueryDescriptors:limit:sortDescriptors:resultsHandler:
+ @abstract Returns a query that will retrieve HKSamples matching the given queryDescriptors.
+
+ @param queryDescriptors An array of query descriptors that describes the sample types and predicates used for querying.
+ @param limit The maximum number of samples to return. Pass HKObjectQueryNoLimit for no limit.
+ @param sortDescriptors The sort descriptors to use to order the resulting samples.
+ @param resultsHandler The block to invoke with results when the query has finished executing. This block is invoked once with results, an array of HKSamples matching the queryDescriptors passed in, or nil if an error occurred. The HKSamples in the array are sorted by the specified sortDescriptors.
+ */
+- (instancetype)initWithQueryDescriptors:(NSArray<HKQueryDescriptor *> *)queryDescriptors
+ limit:(NSInteger)limit
+ sortDescriptors:(NSArray<NSSortDescriptor *> *)sortDescriptors
+ resultsHandler:(void(^)(HKSampleQuery *query, NSArray<__kindof HKSample *> * _Nullable results, NSError * _Nullable error))resultsHandler API_AVAILABLE(ios(15.0), watchos(8.0));
@end
NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKTypeIdentifiers.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKTypeIdentifiers.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKTypeIdentifiers.h 2021-03-16 09:55:58.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKTypeIdentifiers.h 2021-06-02 12:46:40.000000000 -0400
@@ -48,6 +48,7 @@
HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierStairAscentSpeed API_AVAILABLE(ios(14.0), watchos(7.0)); // m/s, Discrete
HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierStairDescentSpeed API_AVAILABLE(ios(14.0), watchos(7.0)); // m/s), Discrete
HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierAppleMoveTime API_AVAILABLE(ios(14.5), watchos(7.4)); // Time, Cumulative
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierAppleWalkingSteadiness API_AVAILABLE(ios(15.0), watchos(8.0)); // Scalar(Percent, 0.0 - 1.0), Discrete
// Vitals
HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierHeartRate API_AVAILABLE(ios(8.0), watchos(2.0)); // Scalar(Count)/Time, Discrete
@@ -77,6 +78,7 @@
HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierPeakExpiratoryFlowRate API_AVAILABLE(ios(8.0), watchos(2.0)); // Volume/Time, Discrete
HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierEnvironmentalAudioExposure API_AVAILABLE(ios(13.0), watchos(6.0)); // Pressure, DiscreteEquivalentContinuousLevel
HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierHeadphoneAudioExposure API_AVAILABLE(ios(13.0), watchos(6.0)); // Pressure, DiscreteEquivalentContinuousLevel
+HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierNumberOfAlcoholicBeverages API_AVAILABLE(ios(15.0), watchos(8.0)); // Scalar(Count), Cumulative
// Nutrition
HK_EXTERN HKQuantityTypeIdentifier const HKQuantityTypeIdentifierDietaryFatTotal API_AVAILABLE(ios(8.0), watchos(2.0)); // Mass, Cumulative
@@ -132,6 +134,8 @@
HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierAppleStandHour API_AVAILABLE(ios(9.0), watchos(2.0)); // HKCategoryValueAppleStandHour
HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierCervicalMucusQuality API_AVAILABLE(ios(9.0), watchos(2.0)); // HKCategoryValueCervicalMucusQuality
HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierOvulationTestResult API_AVAILABLE(ios(9.0), watchos(2.0)); // HKCategoryValueOvulationTestResult
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierPregnancyTestResult API_AVAILABLE(ios(15.0), watchos(8.0)); // HKCategoryValuePregnancyTestResult
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierProgesteroneTestResult API_AVAILABLE(ios(15.0), watchos(8.0)); // HKCategoryValueProgesteroneTestResult
HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierMenstrualFlow API_AVAILABLE(ios(9.0), watchos(2.0)); // HKCategoryValueMenstrualFlow
HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierIntermenstrualBleeding API_AVAILABLE(ios(9.0), watchos(2.0)); // (Spotting) HKCategoryValue
HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierSexualActivity API_AVAILABLE(ios(9.0), watchos(2.0)); // HKCategoryValue
@@ -149,6 +153,7 @@
HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierHeadphoneAudioExposureEvent API_AVAILABLE(ios(14.2), watchos(7.1)); // HKCategoryValueHeadphoneAudioExposureEvent
HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierHandwashingEvent API_AVAILABLE(ios(14.0), watchos(7.0)); // HKCategoryValue
HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierLowCardioFitnessEvent API_AVAILABLE(ios(14.3), watchos(7.2));
+HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierAppleWalkingSteadinessEvent API_AVAILABLE(ios(15.0), watchos(8.0)); // HKCategoryValueAppleWalkingSteadinessEvent
// Symptoms
HK_EXTERN HKCategoryTypeIdentifier const HKCategoryTypeIdentifierAbdominalCramps API_AVAILABLE(ios(13.6), watchos(7.0)); // HKCategoryValueSeverity
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecord.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecord.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecord.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecord.h 2021-06-02 12:46:43.000000000 -0400
@@ -0,0 +1,75 @@
+//
+// HKVerifiableClinicalRecord.h
+// HealthKit
+//
+// Copyright © 2021 Apple. All rights reserved.
+//
+
+#import <HealthKit/HKSample.h>
+
+@class HKVerifiableClinicalRecordSubject;
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class HKVerifiableClinicalRecord
+ @abstract An NSObject that represents a verifiable clinical record.
+ */
+HK_EXTERN API_AVAILABLE(ios(15.0)) __WATCHOS_PROHIBITED
+@interface HKVerifiableClinicalRecord : HKSample
+
+/*!
+ @property recordTypes
+ @abstract The types present in this record.
+ */
+@property (readonly, copy) NSArray<NSString *> *recordTypes;
+
+/*!
+ @property issuerIdentifier
+ @abstract The identifier for the issuer of this record.
+ */
+@property (readonly, copy) NSString *issuerIdentifier;
+
+/*!
+ @property subject
+ @abstract The subject of this record.
+ */
+@property (readonly, copy) HKVerifiableClinicalRecordSubject *subject;
+
+/*!
+ @property issuedDate
+ @abstract The date this record was issued.
+ */
+@property (readonly, copy) NSDate *issuedDate;
+
+/*!
+ @property relevantDate
+ @abstract A date most relevant to this record, like when a vaccine was
+ administered or a test was performed.
+ */
+@property (readonly, copy) NSDate *relevantDate;
+
+/*!
+ @property expirationDate
+ @abstract The date this record expires.
+ */
+@property (readonly, copy, nullable) NSDate *expirationDate;
+
+/*!
+ @property itemNames
+ @abstract A list of display names for each item contained in this record.
+ */
+@property (readonly, copy) NSArray<NSString*> *itemNames;
+
+/*!
+ @property JWSRepresentation
+ @abstract The record's entirety as JSON Web Signature (JWS) data.
+ */
+@property (readonly, copy) NSData *JWSRepresentation;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecordQuery.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecordQuery.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecordQuery.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecordQuery.h 2021-06-02 12:46:40.000000000 -0400
@@ -0,0 +1,45 @@
+//
+// HKVerifiableClinicalRecordQuery.h
+// HealthKit
+//
+// Copyright © 2021 Apple. All rights reserved.
+//
+
+#import <HealthKit/HKQuery.h>
+#import <HealthKit/HKVerifiableClinicalRecord.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class HKVerifiableClinicalRecordQuery
+ @abstract A one-time share query that returns user-selected verifiable clinical records.
+ */
+HK_EXTERN API_AVAILABLE(ios(15.0)) API_UNAVAILABLE(watchos)
+@interface HKVerifiableClinicalRecordQuery : HKQuery
+
+/*!
+ @property recordTypes
+ @abstract The record types that need to be present on desired records.
+ */
+@property (readonly, copy) NSArray<NSString *> *recordTypes;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+/*!
+ @method initWithRecordTypes:predicate:resultsHandler:
+ @abstract Returns an one-time query that will ask for access to verifiable clinical records that match the query.
+
+ @param recordTypes The record types that need to be present on a verifiable clinical record.
+ @param predicate The predicate which records should match.
+ @param resultsHandler The block to invoke with the verifiable clinical records from the query.
+*/
+- (instancetype)initWithRecordTypes:(NSArray<NSString *> *)recordTypes
+ predicate:(nullable NSPredicate *)predicate
+ resultsHandler:(void(^)(HKVerifiableClinicalRecordQuery *query,
+ NSArray<HKVerifiableClinicalRecord *> * _Nullable records,
+ NSError * _Nullable error))resultsHandler;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecordSubject.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecordSubject.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecordSubject.h 1969-12-31 19:00:00.000000000 -0500
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKVerifiableClinicalRecordSubject.h 2021-06-02 12:46:41.000000000 -0400
@@ -0,0 +1,36 @@
+//
+// HKVerifiableClinicalRecordSubject.h
+// HealthKit
+//
+// Copyright © 2021 Apple. All rights reserved.
+//
+
+#import <HealthKit/HKDefines.h>
+
+NS_ASSUME_NONNULL_BEGIN
+
+/*!
+ @class HKVerifiableClinicalRecordSubject
+ @abstract An NSObject that represents a verifiable clinical record subject.
+ */
+HK_EXTERN API_AVAILABLE(ios(15.0)) __WATCHOS_PROHIBITED
+@interface HKVerifiableClinicalRecordSubject : NSObject <NSSecureCoding, NSCopying>
+
+/*!
+ @property fullName
+ @abstract The subject's full name.
+ */
+@property (readonly, copy) NSString *fullName;
+
+/*!
+ @property dateOfBirthComponents
+ @abstract The subject's date of birth components.
+ */
+@property (readonly, copy, nullable) NSDateComponents *dateOfBirthComponents;
+
+- (instancetype)init NS_UNAVAILABLE;
++ (instancetype)new NS_UNAVAILABLE;
+
+@end
+
+NS_ASSUME_NONNULL_END
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutBuilder.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutBuilder.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutBuilder.h 2021-03-16 05:18:09.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutBuilder.h 2021-06-02 07:33:57.000000000 -0400
@@ -88,7 +88,7 @@
@param startDate The start date of the workout.
@param completion Called once data collection has started or has failed to start.
*/
-- (void)beginCollectionWithStartDate:(NSDate *)startDate completion:(void(^)(BOOL success, NSError * _Nullable error))completion;
+- (void)beginCollectionWithStartDate:(NSDate *)startDate completion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_NAME(beginCollection(at:)) NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
/*!
@method addSamples:completion:
@@ -104,7 +104,7 @@
to the builder successfully. If success is NO, error will be non-nil and contain the error
encountered while adding the new samples.
*/
-- (void)addSamples:(NSArray<HKSample *> *)samples completion:(void(^)(BOOL success, NSError * _Nullable error))completion;
+- (void)addSamples:(NSArray<HKSample *> *)samples completion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_NAME(addSamples(_:)) NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
/*!
@method addWorkoutEvents:completion:
@@ -118,7 +118,7 @@
YES, the events were added to the builder successfully. If success is NO, error will be
non-null and will contain the error encountered during the insertion operation.
*/
-- (void)addWorkoutEvents:(NSArray<HKWorkoutEvent *> *)workoutEvents completion:(void(^)(BOOL success, NSError * _Nullable error))completion;
+- (void)addWorkoutEvents:(NSArray<HKWorkoutEvent *> *)workoutEvents completion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_NAME(addWorkoutEvents(_:)) NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
/*!
@method addMetadata:completion:
@@ -133,7 +133,7 @@
be non-null and will contain the error encountered during the insertion operation. When an
error occurs, the builder's metadata property will remain unchanged.
*/
-- (void)addMetadata:(NSDictionary<NSString *, id> *)metadata completion:(void(^)(BOOL success, NSError * _Nullable error))completion;
+- (void)addMetadata:(NSDictionary<NSString *, id> *)metadata completion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_NAME(addMetadata(_:)) NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
/*!
@method endCollectionWithEndDate:error:
@@ -143,20 +143,22 @@
@param endDate The end date of the workout.
@param completion Called once data collection has stopped or has failed to stop.
*/
-- (void)endCollectionWithEndDate:(NSDate *)endDate completion:(void(^)(BOOL success, NSError * _Nullable error))completion;
+- (void)endCollectionWithEndDate:(NSDate *)endDate completion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_NAME(endCollection(at:)) NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
/*!
@method finishWorkoutWithCompletion:
@discussion Creates and saves an HKWorkout using samples and events that have been added to workout previously.
- @param completion Block to be called after the HKWorkout object has been created and saved. If success is NO,
- then error will be the error encountered during the operation.
+ @param completion Block to be called after the HKWorkout object has been created and saved. If the returned
+ workout is nil, an error may have occurred in which case error will be non-nil. If both
+ workout and error are nil then finishing the workout succeeded but the workout sample
+ is not available because the device is locked.
*/
-- (void)finishWorkoutWithCompletion:(void(^)(HKWorkout * _Nullable workout, NSError * _Nullable error))completion;
+- (void)finishWorkoutWithCompletion:(void (^)(HKWorkout * _Nullable_result workout, NSError * _Nullable error))completion;
/*!
@method discardWorkout
- @discussion Finishes building the workout and discards ther result instead of saving it. Samples that were added to
+ @discussion Finishes building the workout and discards the result instead of saving it. Samples that were added to
the workout will not be deleted. Adding samples, events, and metadata to the receiver after
discardWorkout has been called is an error.
*/
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutRouteBuilder.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutRouteBuilder.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutRouteBuilder.h 2021-03-16 05:18:09.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutRouteBuilder.h 2021-06-02 07:33:57.000000000 -0400
@@ -54,7 +54,7 @@
finishRouteWithMetadata: method.
*/
- (void)insertRouteData:(NSArray<CLLocation *> *)routeData
- completion:(void(^)(BOOL success, NSError * _Nullable error))completion;
+ completion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
/*!
@method addMetadata:completion:
@@ -70,7 +70,7 @@
will contain the error encountered during the insertion operation. When an error occurs, the builder's
metadata will remain unchanged.
*/
-- (void)addMetadata:(NSDictionary<NSString *, id> *)metadata completion:(void(^)(BOOL success, NSError * _Nullable error))completion;
+- (void)addMetadata:(NSDictionary<NSString *, id> *)metadata completion:(void (^)(BOOL success, NSError * _Nullable error))completion NS_SWIFT_ASYNC_THROWS_ON_FALSE(1);
/*!
@method finishRouteWithWorkout:Metadata:completion:
@@ -92,7 +92,7 @@
*/
- (void)finishRouteWithWorkout:(HKWorkout *)workout
metadata:(nullable NSDictionary<NSString *, id> *)metadata
- completion:(void(^)(HKWorkoutRoute * _Nullable workoutRoute, NSError * _Nullable error))completion;
+ completion:(void (^)(HKWorkoutRoute * _Nullable workoutRoute, NSError * _Nullable error))completion;
@end
diff -ruN /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HealthKit.h /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HealthKit.h
--- /Applications/Xcode_12.5.0.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HealthKit.h 2021-03-16 08:40:52.000000000 -0400
+++ /Applications/Xcode_13.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HealthKit.h 2021-06-01 22:58:56.000000000 -0400
@@ -7,8 +7,9 @@
#import <HealthKit/HKActivitySummary.h>
#import <HealthKit/HKActivitySummaryQuery.h>
-#import <HealthKit/HKAudiogramSample.h>
#import <HealthKit/HKAnchoredObjectQuery.h>
+#import <HealthKit/HKAppleWalkingSteadinessClassification.h>
+#import <HealthKit/HKAudiogramSample.h>
#import <HealthKit/HKCDADocumentSample.h>
#import <HealthKit/HKCategorySample.h>
#import <HealthKit/HKCharacteristicObjects.h>
@@ -45,6 +46,7 @@
#import <HealthKit/HKQuantitySeriesSampleQuery.h>
#import <HealthKit/HKQuery.h>
#import <HealthKit/HKQueryAnchor.h>
+#import <HealthKit/HKQueryDescriptor.h>
#import <HealthKit/HKSample.h>
#import <HealthKit/HKSampleQuery.h>
#import <HealthKit/HKSeriesBuilder.h>
@@ -57,6 +59,9 @@
#import <HealthKit/HKStatisticsQuery.h>
#import <HealthKit/HKTypeIdentifiers.h>
#import <HealthKit/HKUnit.h>
+#import <HealthKit/HKVerifiableClinicalRecord.h>
+#import <HealthKit/HKVerifiableClinicalRecordQuery.h>
+#import <HealthKit/HKVerifiableClinicalRecordSubject.h>
#import <HealthKit/HKWorkout.h>
#import <HealthKit/HKWorkoutBuilder.h>
#import <HealthKit/HKWorkoutConfiguration.h>
- README
- xcode13.0 Binding Status
- xcode13.1 Binding Status
- xcode13.2 Binding Status
- xcode13.3 Binding Status
- xcode13.4 Binding Status
- xcode14.0 Binding Status
- xcode14.1 Binding Status
- xcode14.2 Binding Status
- xcode14.3 Binding Status
- xcode15.0 Binding Status
- xcode15.1 Binding Status
- xcode15.3 Binding Status
- xcode15.4 Binding Status
- xcode16.0 Binding Status
- xcode16.1 Binding Status
- xcode16.2 Binding Status