Contents

isResolved

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

Declaration

var isResolved: Bool { get set }

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.

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.

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