Does anyone know what the String
field is intended for in this closure public var recordWithIDWasDeletedBlock: ((CKRecordID, String) -> Void)?
. I have no idea what it is for, and the documentation is incomplete at the moment. Any ideas?
The second parameter of CKFetchRecordZoneChangesOperation's recordWithIDWasDeletedBlock
is the recordType of the deleted CKRecord.
The Objective-C declaration is:
@property(nonatomic, copy, nonnull) void (^recordWithIDWasDeletedBlock)(CKRecordID *recordID, NSString *recordType);
(A tip for the new documentation is that the Swift declaration does not always list variable names (ex. for tuples), but the Objective-C declaration does. In cases where the documentation is currently incomplete, this can be quite handy.)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With