---
title: "init(scope:operationGroup:)"
framework: cloudkit
role: symbol
role_heading: Initializer
path: "cloudkit/cksyncengine-5sie5/sendchangesoptions/init(scope:operationgroup:)"
---

# init(scope:operationGroup:)

Creates a new set of send changes options.

## Declaration

```swift
init(scope: CKSyncEngine.SendChangesOptions.Scope = .all, operationGroup: CKOperationGroup? = nil)
```

## Parameters

- `scope`: The scope of the changes to send. Defaults to doc://com.apple.cloudkit/documentation/CloudKit/CKSyncEngine-5sie5/SendChangesOptions/Scope-swift.enum/all.
- `operationGroup`: The operation group to use for the underlying CloudKit operations. If nil, a default operation group will be created.
