<!--
{
  "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/GameSaveSyncedDirectory/Version",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "GameSave"
    ],
    "preciseIdentifier" : "s:8GameSave0aB15SyncedDirectoryC7VersionC"
  },
  "title" : "GameSaveSyncedDirectory.Version"
}
-->

# GameSaveSyncedDirectory.Version

A representation of a version of the directory.

```
class Version
```

## Overview

Used to describe the conflicted or local versions of a directory in case there are conflicts.

## Topics

### Accessing saved game state

[`var url: URL`](/documentation/GameSave/GameSaveSyncedDirectory/Version/url)

The URL of a directory where you read and write game-save data.

[`var isLocal: Bool`](/documentation/GameSave/GameSaveSyncedDirectory/Version/isLocal)

`true` if the directory version is local; otherwise `false`.

### Comparing versions

[`var localizedNameOfSavingComputer: String`](/documentation/GameSave/GameSaveSyncedDirectory/Version/localizedNameOfSavingComputer)

The localized name of the device that saved this version.

[`var modifiedDate: Date`](/documentation/GameSave/GameSaveSyncedDirectory/Version/modifiedDate)

The date that this version was last modified.

## Relationships

### Conforms To

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

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

---

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)