Platforms to show: All Mac Windows Linux Cross-Platform
Back to NSOpenPanelMBS class.
NSOpenPanelMBS.AccessoryViewDisclosed as Boolean
Type | Topic | Plugin | Version | macOS | Windows | Linux | iOS | Targets |
property | Navigation | MBS MacCocoa Plugin | 23.0 | ✅ Yes | ❌ No | ❌ No | ❌ No | Desktop only |
The value of this property is true when the accessory view is visible, and false when it isn't. Setting the value of this property programmatically changes the visibility of the accessory panel. If no accessory panel is present, setting this property does nothing.
(Read and Write property)
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 |
(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 |
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 |
(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 |
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 |
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 |
(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 |
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.