---
title: isResolved
framework: foundation
role: symbol
role_heading: Instance Property
path: foundation/nsfileversion/isresolved
---

# isResolved

A Boolean value that indicates if the version object is in conflict or not.

## Declaration

```swift
var isResolved: Bool { get set }
```

## Discussion

Discussion When the system detects a conflict involving versions of a file, it sets this property to false to indicate an unresolved conflict. After you resolve the conflict, set this property to true to tell the system it is resolved; you must then remove any versions of the file that are no longer useful. important: If you do not explicitly remove versions of a file that are no longer useful, iCloud continues to sync them to all a user’s devices and those versions continue to consume user iCloud quota. To remove an unused version of a file, call the remove() method. To remove all unused versions of a file, call the removeOtherVersionsOfItem(at:) method. important: Never set the value of this property to false. If you do, the system raises an exception. Resolving a conflict causes the file version object to be removed from any reports about conflicting versions, such as those returned by the unresolvedConflictVersionsOfItem(at:) method.

## See Also

### Handling Version Conflicts

- [isConflict](foundation/nsfileversion/isconflict.md)
- [unresolvedConflictVersionsOfItem(at:)](foundation/nsfileversion/unresolvedconflictversionsofitem(at:).md)
