Add this method to your NSWindowController :
-(BOOL) applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication { return YES; }
Add this method to your NSWindowController :
-(BOOL) applicationShouldTerminateAfterLastWindowClosed:(NSApplication *)theApplication { return YES; }
No Responses to “Quit cocoa app on window close”
Leave a Reply