Re: Quitting single-window application on close
Re: Quitting single-window application on close
- Subject: Re: Quitting single-window application on close
- From: Jeremy Dronfield <email@hidden>
- Date: Tue, 16 Mar 2004 10:39:46 +0000
On 16 Mar 2004, at 9:39 am, Michael Becker wrote:
Hello!
How can I quit my single-window application when the window is closed?
Sorry for this easy question, but right now I just can't see it...
- (BOOL)applicationShouldTerminateAfterLastWindowClosed:(NSApplication
*)theApplication
{
return YES;
}
in your app delegate.
-Jeremy
===================================
SkoobySoft, home of viJournal
http://freespace.virgin.net/jeremy.dronfield/skoobysoft.html
===================================
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.