recordWithIDWasDeletedBlock
The closure to execute when a record no longer exists.
Declaration
var recordWithIDWasDeletedBlock: ((CKRecord.ID, CKRecord.RecordType) -> Void)? { get set }Discussion
The closure returns no value and takes the following parameters:
The deleted record’s ID.
The deleted record’s type.
The operation executes this closure once for each record the server deletes after the previous change token. Each time the closure executes, it executes serially with respect to the other closures of the operation. If there aren’t any record deletions, this closure doesn’t execute.
Set this property before you execute the operation or submit it to a queue.