Hello All,
Normally window behaviour that I have seen on Mac apps is, when you click on "x"(close window button) the application hides and is seen in dock and when you click on its dock icon, the application re-surfaces again.
By default, if you have not overrided the ApplicationShouldTerminateAfterLastWindowClosed method, then your application remains in dock but when you click on it from dock it does not open it again.
I dont want to terminate the application on the last window close, it should be seen in the dock and when I click on the dock icon it should resurface again.
How to achieve this.? Which method or which property of window do I need to set to achieve this kind of behaviour??
Any kind of help is highly appreciated. Thanks a ton in advance!