<!--
{
  "availability" : [
    "iOS: 17.0.0 -",
    "iPadOS: 17.0.0 -",
    "macCatalyst: 17.0.0 -",
    "macOS: 14.0.0 -",
    "tvOS: 17.0.0 -",
    "visionOS: -",
    "watchOS: 10.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "CloudKit",
  "identifier" : "/documentation/CloudKit/CKSyncEngine-5sie5/SendChangesOptions/init(scope:operationGroup:)",
  "metadataVersion" : "0.1.0",
  "role" : "Initializer",
  "symbol" : {
    "kind" : "Initializer",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "s:8CloudKit12CKSyncEngineC18SendChangesOptionsV5scope14operationGroupA2E5ScopeO_So011CKOperationJ0CSgtcfc"
  },
  "title" : "init(scope:operationGroup:)"
}
-->

# init(scope:operationGroup:)

Creates a new set of send changes options.

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

## Parameters

`scope`

The scope of the changes to send. Defaults to [`CKSyncEngine.SendChangesOptions.Scope.all`](/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.

---

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)