Instance Property

conflict

A Boolean value indicating whether the contents of the version are in conflict with the contents of another version.

Declaration

@property(readonly, getter=isConflict) BOOL conflict;

Discussion

When two or more versions of a file are written at the same time, perhaps because the file is saved in the cloud and one or more of the writers were offline when they were writing, the system attempts to resolve the conflict automatically. It does this by picking one of the file versions to be the current file and setting this property to YES for the other file versions that are in conflict.

See Also

Handling Version Conflicts

resolved

A Boolean value that indicates the version object is not in conflict (YES) or is in conflict (NO).

+ unresolvedConflictVersionsOfItemAtURL:

Returns an array of version objects that are currently in conflict for the specified URL.