Skip to content

HealthKit iOS xcode16.0 b2

Rolf Bjarne Kvinge edited this page Jun 26, 2024 · 1 revision

#HealthKit.framework

diff -ruN /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutEffortRelationshipQuery.h /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutEffortRelationshipQuery.h
--- /Applications/Xcode_16.0.0-beta.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutEffortRelationshipQuery.h	2024-05-31 08:20:35
+++ /Applications/Xcode_16.0.0-beta2.app/Contents/Developer/Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS.sdk/System/Library/Frameworks/HealthKit.framework/Headers/HKWorkoutEffortRelationshipQuery.h	2024-06-19 09:11:23
@@ -53,8 +53,12 @@
 
 /*!
  @method        initWithPredicate:anchor:options:
- @abstract      Returns a query that will retrieve HKSamples matching the given predicate that are
+ @abstract      Returns a query that will retrieve HKWorkoutEffortRelationship matching the given predicate that are
                 newer than the given anchor.
+ @discussion    This is a long running query and it is the responsibility of the caller to stop the query
+                after they have received the results they desire.
+                The first call to resultsHandler will contain the inital results which may be empty and future callbacks
+                will contain new relationships as well as any changes to previous relationships along with a new anchor
  @param         predicate       The predicate on the workout(s) which samples should match.
  @param         anchor          The anchor which was returned by a previous HKWorkoutEffortRelationshipQuery result or update
                                 handler.  Pass nil when querying for the first time.
Clone this wiki locally