Contents

resolveConflicts(with:)

Indicates that you resolved a conflict.

Declaration

func resolveConflicts(with version: GameSaveSyncedDirectory.Version)

Parameters

  • version:

    The version to use.

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