Returns an array of version objects that are currently in conflict for the specified URL.
- iOS 5.0+
- macOS 10.7+
- Mac Catalyst 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
The URL of the file that has associated version objects.
An array of
NSFileVersion objects that represent the versions in conflict or
nil if the file at URL does not exist.
Handling Version Conflicts
var isConflict: Bool
A Boolean value indicating whether the contents of the version are in conflict with the contents of another version.
var isResolved: Bool
A Boolean value that indicates the version object is not in conflict (
true) or is in conflict (
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software