Instance Method

prepareSavePanel:

Invoked by runModalSavePanelForSaveOperation:delegate:didSaveSelector:contextInfo: to do any customization of the given 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

Handling User Actions

- printDocument:

Prints the receiver in response to the user choosing the Print menu command.

- runPageLayout:

The action method invoked in the receiver as first responder when the user chooses the Page Setup menu command.

- revertDocumentToSaved:

The action of the File menu item Revert in a document-based app.

- saveDocument:

The action method invoked in the receiver as first responder when the user chooses the Save menu command.

- saveDocumentAs:

The action method invoked in the receiver as first responder when the user chooses the Save As menu command.

- saveDocumentTo:

The action method invoked in the receiver as first responder when the user chooses the Save To menu command.