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

# conflictedVersions

The conflicting versions.

```
var conflictedVersions: [GSSyncedDirectoryVersion]? { get }
```

## Discussion

If you’re implementing your own conflict resolution,
read all of the conflicting versions,
and modify one of them to incorporate the state and changes from the others.
Then call [`resolveConflicts(with:)`](/documentation/GameSave/GSSyncedDirectory/resolveConflicts(with:)), passing that version.

This property’s value is `nil` unless the state is `GSSyncStateConflicted`.

---

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)