Instance Method

endModalSession(_:)

Finishes a modal session.

Declaration

func endModalSession(_ session: NSApplication.ModalSession)

Parameters

session

A modal session structure returned by a previous invocation of beginModalSession(for:).

See Also

Deprecated

func endSheet(NSWindow)

Ends a document modal session by specifying the sheet window.

Deprecated
func endSheet(NSWindow, returnCode: Int)

Ends a document modal session by specifying the sheet window.

Deprecated