<!--
{
  "availability" : [
    "iOS: 26.0.0 -",
    "iPadOS: 26.0.0 -",
    "macCatalyst: 26.0.0 -",
    "macOS: 26.0.0 -",
    "visionOS: 26.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "GameSave",
  "identifier" : "/documentation/GameSave/GSSyncState",
  "metadataVersion" : "0.1.0",
  "role" : "Enumeration",
  "symbol" : {
    "kind" : "Enumeration",
    "modules" : [
      "GameSave"
    ],
    "preciseIdentifier" : "c:@E@GSSyncState"
  },
  "title" : "GSSyncState"
}
-->

# GSSyncState

```
enum GSSyncState
```

## Topics

### Directory states

[`case closed`](/documentation/GameSave/GSSyncState/closed)

The directory is closed.

[`case conflicted`](/documentation/GameSave/GSSyncState/conflicted)

The directory has conflicts with the cloud, which the game needs to resolve.

[`case error`](/documentation/GameSave/GSSyncState/error)

The directory is in error state and can’t be used.

[`case local`](/documentation/GameSave/GSSyncState/local)

The directory is local-only and not synced to iCloud.

[`case offline`](/documentation/GameSave/GSSyncState/offline)

The directory is available locally, but not fully synced because the device is offline.

[`case ready`](/documentation/GameSave/GSSyncState/ready)

The directory is fully synced and ready to use.

[`case syncing`](/documentation/GameSave/GSSyncState/syncing)

The directory is currently syncing and is not ready yet.

### Creating a directory state

[`init?(rawValue: Int)`](/documentation/GameSave/GSSyncState/init(rawValue:))

## Relationships

### Conforms To

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

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

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

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

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

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

---

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)