predicateForObjectsWithNoCorrelation()
Returns a predicate that matches all objects that are not associated with a HealthKit correlation.
Declaration
class func predicateForObjectsWithNoCorrelation() -> NSPredicateReturn Value
A predicate that matches all objects that are not associated with any HealthKit correlations.
Discussion
Use this convenience method to create a predicate that matches all objects not associated with a HKCorrelation object. The following sample uses both the convenience method and a predicate format string to create equivalent predicates.
See Also
Related Documentation
Creating object predicates
predicateForObject(with:)predicateForObjects(with:)predicateForObjects(from:)predicateForObjects(from:)predicateForObjects(from:)predicateForObjects(withDeviceProperty:allowedValues:)predicateForObjects(from:)predicateForObjects(withMetadataKey:)predicateForObjects(withMetadataKey:allowedValues:)predicateForObjects(withMetadataKey:operatorType:value:)