Type Property

atomic

A capability that allows changes to multiple records to be made atomically.

Declaration

static var atomic: CKRecordZone.Capabilities { get }

Discussion

When you use a CKModifyRecordsOperation object to save records, if the server is unable to save the changes for one record, it does not save the changes for any of the records. When combined with the CKModifyRecordsOperation.RecordSavePolicy.ifServerRecordUnchanged policy of the operation object, this behavior prevents your app from overwriting changes to a group of records if one of the records was modified elsewhere.