saveAs(_:)
The action method invoked in the receiver as first responder when the user chooses the Save As menu command.
Declaration
@IBAction func saveAs(_ sender: Any?)Parameters
- sender:
The control sending the message.
Discussion
The default implementation runs the modal Save panel to get the file location under which to save the document. It writes the document to this file, sets the document’s file location and document type (if a native type), and clears the document’s edited status.