Class

CKFetchRecordZoneChangesOperation

An operation that fetches record changes across the given record zone.

Declaration

class CKFetchRecordZoneChangesOperation : CKDatabaseOperation

Topics

Creating a CKFetchRecordZoneChangesOperation Object

init(recordZoneIDs: [CKRecordZone.ID], optionsByRecordZoneID: [CKRecordZone.ID : CKFetchRecordZoneChangesOperation.ZoneOptions]?)

Initializes and returns an operation object configured to fetch record zone changes.

Deprecated

Configuring the Operation Object

var fetchAllChanges: Bool

A Boolean value indicating whether repeated requests should be sent to the server.

var optionsByRecordZoneID: [CKRecordZone.ID : CKFetchRecordZoneChangesOperation.ZoneOptions]?

Options for each zone that is retrieved from the server.

Deprecated
var recordZoneIDs: [CKRecordZone.ID]?

The IDs of the record zones whose records you want to fetch.

class CKFetchRecordZoneChangesOperation.ZoneOptions

Options when fetching record zone changes.

Deprecated

Processing the Operation Results

var fetchRecordZoneChangesCompletionBlock: ((Error?) -> Void)?

The block to use to process the record zone changes.

var recordChangedBlock: ((CKRecord) -> Void)?

The block to execute with the contents of a changed record.

Relationships

Inherits From

Conforms To

See Also

Fetching Records

class CKFetchRecordsOperation

An operation used to retrieve records from CloudKit.

class CKFetchRecordZonesOperation

An operation used to retrieve zones from a database in CloudKit.

class CKServerChangeToken

An object that identifies a specific version of a record.

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