pendingRecordZoneChanges
A list of record zone changes that the sync engine has yet to send to the iCloud servers.
Declaration
final var pendingRecordZoneChanges: [CKSyncEngine.PendingRecordZoneChange] { get }Discussion
This array contains any pending record zone changes to send to the iCloud servers. After the sync engine sends those changes, your app’s sync delegate receives an event of type CKSyncEngine.Event.SentRecordZoneChanges.
The sync engine keeps this list up-to-date while sending changes to the server. For example, when it successfully saves a record, it removes that change from this list. If it fails to send a change due to some retryable error (e.g. a network failure), it keeps that change in this list.
Use the add(pendingRecordZoneChanges:) and remove(pendingRecordZoneChanges:) methods to modify the array’s contents.