Instance Property


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


var recordChangedBlock: ((CKRecord) -> Void)? { get set }


The block returns no value and takes the following parameter:


The record that changed. If you specified a value for the desiredKeys property, the record only contains the fields specified in the desiredKeys property.

The operation object executes this block once for each record in the zone that changed 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 changed, the 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