Instance Property


A Boolean value that indicates whether the user chose to hide the document's filename extension.


@property(readonly) BOOL fileNameExtensionWasHiddenInLastRunSavePanel;

Return Value

YES if a Save panel was presented and the user chose to hide the extension; otherwise, NO.


The Save panel includes an option to hide a document's filename extension. If the user selects this option, AppKit sets the value of this property to YES; otherwise, the value is NO.

See Also

Presenting a Save Panel

- runModalSavePanelForSaveOperation:delegate:didSaveSelector:contextInfo:

Presents a modal Save panel to the user, then tries to save the document if the user approves the operation.

- prepareSavePanel:

Tells the document to customize the specified Save panel.


A Boolean value that indicates whether the document’s Save panel displays a list of supported writable document types.


The file type that was last selected in the Save panel.