Instance Property

samplePredicates

A dictionary whose keys are HKSampleType instances and whose values are NSPredicate instances.

Declaration

var samplePredicates: [HKSampleType : NSPredicate]? { get }

Discussion

The query uses this dictionary to perform complex tests against the correlation’s contents. For more information, see init(type:predicate:samplePredicates:completion:).

See Also

Getting Property Data

var correlationType: HKCorrelationType

The type of correlation to search for.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software