A Boolean that indicates whether the panel’s browser allows the user to open multiple files (and directories) at a time.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
@property BOOL allowsMultipleSelection;
Discussion
When the value of this property is YES
, the panel’s browser allows multiple selection.
If multiple files or directories are allowed, then the filename
method—inherited from NSSave
—returns a non-nil
value only if one and only one file is selected. By contrast, NSOpen
’s URLs
property always returns the URLs of the selected files, even if only one file is selected.