How to do smth before window will close if user has clicked red close button of window? Xamarin.mac
I have a main NSViewController object, which has buttons for calling other NSViewController objects. I would like to show the results of the user’s work before the window (NSViewController) closes, when he gets tired and presses the red close button