Instance Property

isExtensionHidden

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

Declaration

var isExtensionHidden: Bool { get set }

Discussion

Use this property to determine whether to display filename extensions. When the value of this property is true, include the filename extension in places where you refer to the file by name.

AppKit saves the state of this checkbox on a per-application basis. Setting this property has no effect if the user has chosen to show all file extensions in Finder.

See Also

Configuring the Panel's Behavior

var canCreateDirectories: Bool

A Boolean value that indicates whether the panel displays UI for creating directories.

var canSelectHiddenExtension: Bool

A Boolean value that indicates whether the panel displays UI for hiding or showing filename extensions.

var showsHiddenFiles: Bool

A Boolean value that indicates whether the panel displays files that are normally hidden from the user.

var isExpanded: Bool

A Boolean value that indicates whether whether the panel is expanded.

Button tags

Button tags that refer to items on the panel.