Contents

predicateForObjectsWithNoCorrelation()

Returns a predicate that matches all objects that are not associated with a HealthKit correlation.

Declaration

class func predicateForObjectsWithNoCorrelation() -> NSPredicate

Return 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