Fit/HKHealthStore+AAPLExtensions.h
/* |
Copyright (C) 2016 Apple Inc. All Rights Reserved. |
See LICENSE.txt for this sample’s licensing information |
Abstract: |
Contains shared helper methods on HKHealthStore that are specific to Fit's use cases. |
*/ |
@import HealthKit; |
@interface HKHealthStore (AAPLExtensions) |
// Fetches the single most recent quantity of the specified type. |
- (void)aapl_mostRecentQuantitySampleOfType:(HKQuantityType *)quantityType predicate:(NSPredicate *)predicate completion:(void (^)(HKQuantity *mostRecentQuantity, NSError *error))completion; |
@end |
Copyright © 2016 Apple Inc. All Rights Reserved. Terms of Use | Privacy Policy | Updated: 2016-10-25