---
title: init()
framework: cloudkit
role: symbol
role_heading: Initializer
path: cloudkit/ckmodifyrecordsoperation/init()
---

# init()

Creates an empty modify records operation.

## Declaration

```swift
init()
```

## Discussion

Discussion You must set at least one of the recordsToSave or recordIDsToDelete properties before you execute the operation.

## See Also

### Creating a Modify Record Operation

- [init(recordsToSave:recordIDsToDelete:)](cloudkit/ckmodifyrecordsoperation/init(recordstosave:recordidstodelete:).md)
