Instance Property

recordsToSave

The records to save to the database.

Declaration

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

Discussion

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

recordIDsToDelete

The IDs of the records to delete permanently from 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.