Instance Method

cancel(_:)

This action method is invoked when the user clicks the panel’s Cancel button.

Declaration

@IBAction func cancel(_ sender: Any?)

Parameters

sender

The NSSavePanel object whose Cancel button was clicked.

See Also

Handling Actions

func ok(Any?)

This action method is invoked when the user clicks the panel’s OK button.