Is there an easy way to find out when NSWindow was closed using the close button (in the window title bar).
Using the NSWindowDelegateand method windowWillClose:(NSNotification *)notification, I get a notification about every close. But how can I find out that the close request was sent by the close button.
source
share