Instance Property


The records to save to the database.


@property(nonatomic, copy) NSArray<CKRecord *> *recordsToSave;


This property contains the array of CKRecord objects that you want to save. The initial contents of the array are set to the records you specified in the initWithRecordsToSave:recordIDsToDelete: method. You can modify this array as needed before executing the operation. The records must all target the same database but may belong to different zones in the database.

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

See Also

Configuring the Operation Object


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


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


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


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