My application only has one window which is the whole program. Therefore I would like the whole app to terminate when the user clicks any of the close-buttons (which by default only closes the actual window).
How can this be achieved? And is it frowned upon by Apple (who will be the ones approving my app)? I can't think of any one program that terminates the whole app when clicking close, but then again I'm not an avid mac-user...
How can this be achieved? And is it frowned upon by Apple (who will be the ones approving my app)? I can't think of any one program that terminates the whole app when clicking close, but then again I'm not an avid mac-user...