Platforms to show: All Mac Windows Linux Cross-Platform

NSOpenPanelMBS.allowsMultipleSelection as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS MacCocoa Plugin 7.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Whether the panel's browser allows the user to open multiple files (and directories) at a time.
Notes: (Read and Write property)
NSOpenPanelMBS.canChooseDirectories as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS MacCocoa Plugin 7.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Whether the user can select directories in the pane's browser.
Notes:
When a directory is selected, the OK button is enabled only if flag is true.
(Read and Write property)

Some examples using this property:

NSOpenPanelMBS.canChooseFiles as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS MacCocoa Plugin 7.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Whether the panel allows the user to choose files to open.
Notes: (Read and Write property)

Some examples using this property:

NSOpenPanelMBS.canDownloadUbiquitousContents as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS MacCocoa Plugin 14.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Controls how the receiver responds to ubiquitous documents that aren't yet fully downloaded locally.
Notes:
If true, then the receiver will disallow opening non-local ubiquitous files. Also, if the user attempts to select a non-local file, the receiver will trigger or reprioritize downloading for that file so that it can be opened as soon as possible. If false, then the receiver will allow the user to select and open non-local files, giving your application responsibility for downloading and reporting progress. The default value is true, except for applications linked against the 10.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 NO and download the file's contents (with NSFileCoordinator) and show downloading progress (with NSProgress or NSMetadataQuery) in the context of your application, instead of relying on the open panel to do it.

Available in Mac OS X 10.10 and newer.
(Read and Write property)
NSOpenPanelMBS.canResolveUbiquitousConflicts as Boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS MacCocoa Plugin 14.4 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Controls how the receiver responds to ubiquitous documents with conflicting versions.
Notes:
If true, then when the user attempts to open one or more documents with conflicts, the receiver will first display conflict resolution UI, requiring the user to resolve those conflicts before the documents can be opened. If false, then the receiver does nothing in response to conflicts, allowing your application to handle them. The default value is true, except for applications linked against the 10.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 NO and do conflict detection and resolution (using NSURLUbiquitousItemHasUnresolvedConflictsKey and NSFileVersion) in the context of your application, instead of relying on the open panel to do it.

Available in Mac OS X 10.10 and newer.
(Read and Write property)
NSOpenPanelMBS.FilesCount as UInt32
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS MacCocoa Plugin 7.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: The number of selected files.
Notes: (Read only property)
NSOpenPanelMBS.resolvesAliases as boolean
Type Topic Plugin Version macOS Windows Linux iOS Targets
property Navigation MBS MacCocoa Plugin 7.8 ✅ Yes ❌ No ❌ No ❌ No Desktop only
Function: Whether the receiver resolves aliases.
Notes:
If true, the effect is that dropping an alias on the panel or asking for filenames returns the resolved aliases. The default is true.
(Read and Write property)

Some examples using this property:

The items on this page are in the following plugins: MBS MacCocoa Plugin.

Feedback: Report problem or ask question.

The biggest plugin in space...


Start Chat