Instance Method

prepareSavePanel:

Tells the document to customize the specified Save panel.

Declaration

- (BOOL)prepareSavePanel:(NSSavePanel *)savePanel;

Parameters

savePanel

The Save panel.

Return Value

YES if successfully prepared; otherwise, NO.

Discussion

The default implementation is empty and returns YES.

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.

shouldRunSavePanelWithAccessoryView

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

fileTypeFromLastRunSavePanel

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

fileNameExtensionWasHiddenInLastRunSavePanel

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