Enumeration Case

CKModifyRecordsOperation.RecordSavePolicy.allKeys

A policy that saves all keys of the record (including those that have not changed) to the server, overwriting any values currently on the server. Keys present only on the server remain unchanged.

Declaration

case allKeys = 2

Discussion

It is possible for a server record to contain keys that are not present locally. Another client may have added keys to the record since the time you fetched the record. Also, if you used the desiredKeys property to request only a subset of keys during a previous fetch operation, saving that same record object would modify only the fetched keys and any keys added to the record since then.