Instance Property

canResolveUbiquitousConflicts

A Boolean that controls how the panel responds to ubiquitous documents with conflicting versions.

Declaration

var canResolveUbiquitousConflicts: Bool { get set }

Discussion

When the value of this property is true, then when the user attempts to open one or more documents with conflicts, the panel will first display the conflict resolution UI, requiring the user to resolve those conflicts before the documents can be opened. When the value of this property is false, then the panel does nothing in response to conflicts, allowing your application to handle them. The default value is true, except for applications linked against the OS X v10.9 SDK or earlier that have adopted iCloud by specifying a ubiquitous container identifier entitlement.

To provide the ideal user experience, you should set this property to false and do conflict detection and resolution (using ubiquitousItemHasUnresolvedConflictsKey and NSFileVersion) in the context of your application, instead of relying on the Open panel to do it.

See Also

Managing Ubiquitous Documents

var canDownloadUbiquitousContents: Bool

A Boolean that controls how the panel responds to ubiquitous documents that aren't yet fully downloaded locally.