Instance Method

dismiss(_:)

Dismisses the currently displayed view controller.

Declaration

@IBAction func dismiss(_ sender: Any)

Parameters

sender

The object that is dismissing the view controller.

See Also

Presenting and Dismissing the Dialog

func present(NSViewController & GKViewController) -> Bool

Presents a view controller in the dialog controller’s window.