Class

CKQuerySubscription

The abstract base class for CloudKit subscriptions.

Declaration

@interface CKQuerySubscription : CKSubscription

Overview

Topics

Accessing the Subscription Search Parameters

predicate

The matching criteria to apply to records.

querySubscriptionOptions

Option flags describing the firing behavior of the subscription

Accessing the Subscription Metadata

recordType

The record type being monitored in a query-based subscription. (read-only)

zoneID

Zone that this query subscription is scoped to.

Creating a Subscription

- initWithRecordType:predicate:options:

Initializes and returns a query-based subscription that monitors records with the specified options.

- initWithRecordType:predicate:subscriptionID:options:

Initializes and returns a query-based subscription that monitors records with the specified options.

Constants

CKQuerySubscriptionOptions

Configuration options for a subscription.

Deprecated

CKSubscription

Use a CKSubscription object to track changes occurring on the server.

Relationships

Inherits From

See Also

Notifications and Subscriptions

CKRecordZoneNotification

A notification that is triggered by changes to the contents of a record zone.

CKDatabaseNotification

A notification that is triggered by changes to the contents of a database.

Notifications

Notifications are used to inform your application of changes made by another device.

Subscription Operations

Subscriptions are used to request notifications of specific subsets of data changes.