<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CloudKit",
  "identifier" : "/documentation/CloudKit/CKSyncEngineRecordZoneChangeBatch",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CKSyncEngineRecordZoneChangeBatch"
  },
  "title" : "CKSyncEngineRecordZoneChangeBatch"
}
-->

# CKSyncEngineRecordZoneChangeBatch

An object that contains the record changes for a single send operation.

```
@interface CKSyncEngineRecordZoneChangeBatch : NSObject
```

## Topics

### Creating a batch

[`initWithPendingChanges:recordProvider:`](/documentation/CloudKit/CKSyncEngineRecordZoneChangeBatch/initWithPendingChanges:recordProvider:)

Creates a batch of records to modify using the provided record zone changes.

[`CKSyncEnginePendingRecordZoneChange`](/documentation/CloudKit/CKSyncEnginePendingRecordZoneChange)

An object that describes an unsent record modification.

[`initWithRecordsToSave:recordIDsToDelete:atomicByZone:`](/documentation/CloudKit/CKSyncEngineRecordZoneChangeBatch/initWithRecordsToSave:recordIDsToDelete:atomicByZone:)

Creates a batch of records to modify.

### Managing atomicity

[`atomicByZone`](/documentation/CloudKit/CKSyncEngineRecordZoneChangeBatch/atomicByZone)

A Boolean value that determines whether CloudKit modifies records atomically by record zone.

### Managing the records

[`recordIDsToDelete`](/documentation/CloudKit/CKSyncEngineRecordZoneChangeBatch/recordIDsToDelete)

The unique identifiers of the records to delete.

[`recordsToSave`](/documentation/CloudKit/CKSyncEngineRecordZoneChangeBatch/recordsToSave)

The records to save.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)