Contents

saveTo(_:)

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

Declaration

@IBAction func saveTo(_ sender: Any?)

Parameters

  • sender:

    The control sending the message.

Discussion

The default implementation is identical to saveAs(_:) except that this method doesn’t clear the document’s edited status and doesn’t reset file location and document type if the document is a native type.

See Also

Handling User Actions