Instance Property

canChooseFiles

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

Declaration

var canChooseFiles: Bool { get set }

Discussion

When the value of this property is true, the panel allows the user to choose files.

See Also

Configuring Panels

var canChooseDirectories: Bool

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

var resolvesAliases: Bool

A Boolean that indicates whether the panel resolves aliases.

var allowsMultipleSelection: Bool

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