Instance Property


The ID of the record zone to monitor.


@NSCopying var zoneID: CKRecordZone.ID? { get set }


The value of this property applies both to query-based subscriptions and zone-based subscriptions. Specifying a record zone limits the search scope to the records in that zone. In the case of a zone-based subscription, the search encompasses all records in the zone. For a query-based subscription, the search encompasses only records of a specific type in that zone.

For zone-based subscriptions, the value of this property is set automatically by the init(zoneID:options:) or init(zoneID:subscriptionID:options:) methods. For all other subscription types, the default value is nil. To apply a zone to a query-based subscriptions, you must assign a value explicitly.

See Also

Accessing the Subscription Search Parameters

var predicate: NSPredicate?

The matching criteria to apply to records.


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