title: Make a Cocoa application quit when the main window is closed?
body: <p><strong>How to make a Cocoa application quit when the main window is closed?</strong> Without that you have to click on the app icon and click quit in the menu.</p>