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

# GSSyncedDirectoryState

Represents the state and its associated properties of the directory

```
class GSSyncedDirectoryState
```

## Overview

Use the [`state`](/documentation/GameSave/GSSyncedDirectoryState/state) property to determine the validity of the other properties

## Topics

### Directory state information

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

[`state`](/documentation/GameSave/GSSyncedDirectoryState/state)

Specifies the current state of the directory

[`conflictedVersions`](/documentation/GameSave/GSSyncedDirectoryState/conflictedVersions)

The conflicting versions.

[`error`](/documentation/GameSave/GSSyncedDirectoryState/error)

The error preventing you from using the directory.

[`url`](/documentation/GameSave/GSSyncedDirectoryState/url)

The URL of a directory to read and write game-save data in.

## Relationships

### Conforms To

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

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

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

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

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

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

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)