---
title: "resolveConflicts(with:)"
framework: gamesave
role: symbol
role_heading: Instance Method
path: "gamesave/gamesavesynceddirectory/resolveconflicts(with:)"
---

# resolveConflicts(with:)

Indicates that you resolved a conflict.

## Declaration

```swift
func resolveConflicts(with version: GameSaveSyncedDirectory.Version)
```

## Parameters

- `version`: The version to use.

## Discussion

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 this method, passing that version. Call this method only when the directory is in the GameSaveSyncedDirectory.State.conflicted(versions:) state.

## See Also

### Resolving conflicts

- [GameSaveSyncedDirectory.Version](gamesave/gamesavesynceddirectory/version.md)
