Instance Property

canSelectHiddenExtension

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

Declaration

@property BOOL canSelectHiddenExtension;

Discussion

When the value of this property is YES, the panel allows the user to hide or show extensions; if NO, it does not. The default value is NO.

This property must be set before the panel is displayed. If set to YES, the extensionHidden property can be used to get and set the value of the checkbox that hides or shows extensions.

See Also

Configuring Panel Content

extensionHidden

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

- requiredFileType

Returns the required file type (if any).

Deprecated
- setRequiredFileType:

Specifies the file type (as an extension) or a UTI.

Deprecated
directoryURL

The directory shown in the panel as a URL.

- setDirectory:

Sets the current pathname in the panel’s browser.

Deprecated
allowedFileTypes

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

allowsOtherFileTypes

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.

treatsFilePackagesAsDirectories

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