---
title: atomic
framework: cloudkit
role: symbol
role_heading: Type Property
path: cloudkit/ckrecordzone/capabilities-swift.struct/atomic
---

# atomic

A capability that allows atomic changes of multiple records.

## Declaration

```swift
static var atomic: CKRecordZone.Capabilities { get }
```

## Discussion

Discussion When you use a CKModifyRecordsOperation object to save records, if the server is unable to save the changes for one record, it doesn’t save the changes for any of the records. Combining this capability with the CKModifyRecordsOperation.RecordSavePolicy.ifServerRecordUnchanged policy of the operation object prevents your app from overwriting changes to a group of records if one or more of the records on the server has recent changes.

## See Also

### Zone Capabilities

- [fetchChanges](cloudkit/ckrecordzone/capabilities-swift.struct/fetchchanges.md)
- [sharing](cloudkit/ckrecordzone/capabilities-swift.struct/sharing.md)
- [zoneWideSharing](cloudkit/ckrecordzone/capabilities-swift.struct/zonewidesharing.md)
