Instance Property


The block to execute when the change token has been updated.


var recordZoneChangeTokensUpdatedBlock: ((CKRecordZone.ID, CKServerChangeToken?, Data?) -> Void)? { get set }


The block returns no value and takes the following parameters:


The ID of the zone with the updated token.


The new change token from the server. You can store this token locally and use it during subsequent fetch operations to limit the results to records that changed since this operation executed.


The last client change token received from this device. If this change token is not the last change token you provided, the server may not have received the associated changes.

The operation object executes this block once for each record zone. Each time the block is executed, it is executed serially with respect to the other progress blocks of the operation.

If you intend to use this block to process results, set it before executing the operation or submitting it to a queue.

See Also

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.