Instance Property

allowsMultipleSelection

A Boolean that indicates whether the panel’s browser allows the user to open multiple files (and directories) at a time.

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 NSSavePanel—returns a non-nil value only if one and only one file is selected. By contrast, NSOpenPanel’s URLs property always returns the URLs of the selected files, even if only one file is selected.

See Also

Configuring Panels

canChooseFiles

A Boolean that indicates whether the panel allows the user to choose files to open.

canChooseDirectories

A Boolean that indicates whether the panel allows the user to choose directories to open.

resolvesAliases

A Boolean that indicates whether the panel resolves aliases.