Re: Quitting Current Application
Re: Quitting Current Application
- Subject: Re: Quitting Current Application
- From: Constantine <email@hidden>
- Date: Wed, 16 Jan 2008 15:42:04 +0800
Yes, it's [NSApp terminate:nil];
On Jan 16, 2008, at 12:32 PM, Shripada Hebbar wrote:
but I would like to know how to quit my
application through the code. So that I can do a twofer there.
You can use [NSApp terminate].
Regards
Shripada_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
=============================================
Qi Liu
E-Mail: email@hidden
--Stay Hungry. Stay Foolish.
--You've got to find what you love.
=============================================
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden