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
I wanna get some func which will launching when user will have clicked the red close button of window
I’ve looked at a lot of answers to questions that match mine, but there were a couple of exceptions
- The answers were for the Swift language
- only parts of the codes were given. All without specifying where to insert them