<!--
{
  "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/CKSyncEngineSendChangesContext",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "c:objc(cs)CKSyncEngineSendChangesContext"
  },
  "title" : "CKSyncEngineSendChangesContext"
}
-->

# CKSyncEngineSendChangesContext

The context of an attempt to send changes to the server.

```
@interface CKSyncEngineSendChangesContext : NSObject
```

## Overview

A sync engine has two ways to send changes to iCloud — periodically, in cooperation with the system scheduler, and manually, whenever your app invokes the [`sendChangesWithCompletionHandler:`](/documentation/CloudKit/CKSyncEngine-4b4w9/sendChangesWithCompletionHandler:) method.
This object provides information about a single attempt to send changes that includes both the reason for the attempt and any additional options in use by the attempt.

## Topics

### Accessing specific attributes

[`reason`](/documentation/CloudKit/CKSyncEngineSendChangesContext/reason)

The reason for the send operation.

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

Describes the reason for a sync operation.

[`options`](/documentation/CloudKit/CKSyncEngineSendChangesContext/options)

The additional options for the send operation.

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

A set of options to use with a send operation.



---

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)