Class

CKFetchDatabaseChangesOperation

An operation that fetches changes to the database.

Declaration

@interface CKFetchDatabaseChangesOperation : CKDatabaseOperation

Topics

Creating an Operation

- initWithPreviousServerChangeToken:

Initializes and returns an operation object configured with the previous change token.

Processing the Operation Results

changeTokenUpdatedBlock

The block to execute when the change token has changed.

fetchDatabaseChangesCompletionBlock

The block to execute when the operation completes.

recordZoneWithIDChangedBlock

The block that processes a single record zone change.

recordZoneWithIDWasDeletedBlock

The block that processes a single record zone deletion.

recordZoneWithIDWasPurgedBlock

The block that processes a single record zone purge.

Configuring the Operation Object

fetchAllChanges

Configuration setting to control whether this operation makes repeated calls to the server.

previousServerChangeToken

The change token from a previous fetch operation.

resultsLimit

The maximum number of results to fetch with this operation.

Relationships

Inherits From

See Also

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