init(predicate:)
Creates a source query descriptor.
Declaration
init(predicate: HKSamplePredicate<Sample>)Parameters
- predicate:
A predicate that defines the set of data used to identify sources. For a list of convenience methods for building predicates, see Hkquery.