Instance Property

zoneID

The ID of the record zone to monitor.

Declaration

@property(nonatomic, copy) CKRecordZoneID *zoneID;

Discussion

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 initWithZoneID:options: or initWithZoneID: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

recordType

The record type being monitored in a query-based subscription.

Deprecated
predicate

The matching criteria to apply to records.

Deprecated

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