Instance Property

recordIDsToDelete

The IDs of the records to delete permanently from the database.

Declaration

@property(nonatomic, copy) NSArray<CKRecordID *> *recordIDsToDelete;

Discussion

This property contains the array of CKRecordID objects that identify the records to delete. The initial contents of the array are set to the records you specified in the initWithRecordsToSave:recordIDsToDelete: method.

If you intend to change the value of this property, do so before executing the operation or submitting the operation object to a queue.

When deleting records, the operation object reports progress only on the records you specify in this property. Deleting records can trigger the deletion of related records if there is an owner-owned relationship between the records involving a CKReference object. When additional deletions occur, they are not reported to the progress blocks of this object. For that reason, it is important to understand the implications of the ownership model you use when you relate records to each other through a CKReference object. For more information about owner-owned relationships, see CKReference.

See Also

Configuring the Operation Object

recordsToSave

The records to save to the database.

savePolicy

The policy to apply when the server contains a newer version of a specific record.

clientChangeTokenData

A data token used to track client-side changes to records.

atomic

A Boolean value indicating whether the entire operation fails when one or more records in the same zone cannot be written.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software