Instance Property

directoryURL

The directory shown in the panel as a URL.

Declaration

var directoryURL: URL? { get set }

See Also

Configuring Panel Content

var isExtensionHidden: Bool

A Boolean value that indicates whether the extension-hiding checkbox is visible and checked.

var canSelectHiddenExtension: Bool

A Boolean value that indicates whether the panel allows the user to hide or show file extensions.

var allowedFileTypes: [String]?

An array of NSString objects specifying the allowed file types for the panel.

var allowsOtherFileTypes: Bool

A Boolean value that indicates whether the panel allows the user to save files with an extension that’s not in the list of allowed types.

var treatsFilePackagesAsDirectories: Bool

A Boolean value that indicates whether the panel displays file packages as directories.