---
title: "presentedSubitem(at:didResolve:)"
framework: foundation
role: symbol
role_heading: Instance Method
path: "foundation/nsfilepresenter/presentedsubitem(at:didresolve:)"
---

# presentedSubitem(at:didResolve:)

Tells the delegate that the item inside the presented directory had a version conflict resolved by an outside entity.

## Declaration

```swift
optional func presentedSubitem(at url: URL, didResolve version: NSFileVersion)
```

## Parameters

- `url`: The URL of the item inside the presented directory that was in conflict. The item need not be at the top level of the presented directory but may itself be inside a nested subdirectory.
- `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)
- [presentedItemDidResolveConflict(_:)](foundation/nsfilepresenter/presenteditemdidresolveconflict(_:).md)
- [presentedSubitem(at:didGain:)](foundation/nsfilepresenter/presentedsubitem(at:didgain:).md)
- [presentedSubitem(at:didLose:)](foundation/nsfilepresenter/presentedsubitem(at:didlose:).md)
