---
title: "presentedItemDidResolveConflict(_:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsfilepresenter/presenteditemdidresolveconflict(_:)"
---

# presentedItemDidResolveConflict(_:)

Tells the delegate that some other entity resolved a version conflict for the presenter’s file or file package.

## Declaration

```swift
optional func presentedItemDidResolveConflict(_ version: NSFileVersion)
```

## Parameters

- `version`: The version object containing the conflicting change.

## Discussion

Discussion Your delegate can use this method to respond to the resolution of a version conflict by a different file presenter. This might occur if a version of your application running on another device resolves the conflict first. You might then use this method to update your user interface to indicate that there is no longer a conflict.

## See Also

### Responding to Version Changes

- [presentedItemDidGain(_:)](foundation/nsfilepresenter/presenteditemdidgain(_:).md)
- [presentedItemDidLose(_:)](foundation/nsfilepresenter/presenteditemdidlose(_:).md)
- [presentedSubitem(at:didGain:)](foundation/nsfilepresenter/presentedsubitem(at:didgain:).md)
- [presentedSubitem(at:didLose:)](foundation/nsfilepresenter/presentedsubitem(at:didlose:).md)
- [presentedSubitem(at:didResolve:)](foundation/nsfilepresenter/presentedsubitem(at:didresolve:).md)
