should with the result of
can if the specified window controller that is closing is the last one or is marked as causing the document to close.
- macOS 10.0+
The window controller that is closed.
The delegate to which the selector message is sent.
The selector of the message sent to the delegate.
Object passed with the callback to provide any additional context information.
Otherwise it invokes
true. This method is called automatically by
NSWindow for any window that has a window controller and a document associated with it.
NSWindow calls this method prior to sending its
window message. Pass the
context object with the callback.
should callback method should have the following signature: