<!--
{
  "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/SyncReason",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "CloudKit"
    ],
    "preciseIdentifier" : "s:8CloudKit12CKSyncEngineC10SyncReasonO"
  },
  "title" : "CKSyncEngine.SyncReason"
}
-->

# CKSyncEngine.SyncReason

Describes the reason for a sync operation.

```
enum SyncReason
```

## Topics

### Sync reasons

[`case scheduled`](/documentation/CloudKit/CKSyncEngine-5sie5/SyncReason/scheduled)

The sync engine automatically scheduled this sync.

[`case manual`](/documentation/CloudKit/CKSyncEngine-5sie5/SyncReason/manual)

A manual sync operation.

### Identifying and comparing reasons

### Debugging the reason

[`var description: String`](/documentation/CloudKit/CKSyncEngine-5sie5/SyncReason/description)

The textual description of the reason that’s suitable for logging.

### Default Implementations

[CustomStringConvertible Implementations](/documentation/CloudKit/CKSyncEngine-5sie5/SyncReason/CustomStringConvertible-Implementations)

## Relationships

### Conforms To

[`SendableMetatype`](/documentation/Swift/SendableMetatype)

[`Equatable`](/documentation/Swift/Equatable)

[`Hashable`](/documentation/Swift/Hashable)

[`Copyable`](/documentation/Swift/Copyable)

[`Sendable`](/documentation/Swift/Sendable)

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Escapable`](/documentation/Swift/Escapable)

---

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)