Instance Method

endSheet(_:)

Ends a document modal session by specifying the sheet window.

Declaration

func endSheet(_ sheet: NSWindow)

Parameters

sheet

The sheet whose modal session you want to end.

Discussion

This method ends the modal session with the return code stop.

See Also

Methods