Instance Property

recordWithIDWasDeletedBlock

The block to execute with the ID of a record that was deleted.

Declaration

var recordWithIDWasDeletedBlock: ((CKRecord.ID) -> Void)? { get set }

Discussion

The block returns no value and takes the following parameters:

recordID

The ID of the record that was deleted.

The operation object executes this block once for each record in the zone that was deleted since the previous fetch request. Each time the block is executed, it is executed serially with respect to the other progress blocks of the operation. If no records were deleted, this block is not executed.

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 recordChangedBlock: ((CKRecord) -> Void)?

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

Deprecated
var fetchRecordChangesCompletionBlock: ((CKServerChangeToken?, Data?, Error?) -> Void)?

The block to execute when all changes have been reported.

Deprecated
var moreComing: Bool

A Boolean value indicating that more results are available.

Deprecated