Re: Exit an Application
Re: Exit an Application
- Subject: Re: Exit an Application
- From: "Luca C." <email@hidden>
- Date: Mon, 13 Apr 2009 16:18:52 +0200
[[NSApplication sharedApplication] terminate:self];
2009/4/13 Luca Ciciriello <email@hidden>
> Hi All.
> I Know this, may be, is the most stupid question on this list by I'm pretty
> new using cocoa (I'm a C++ developer).
> I've created an application with a button "Exit" and I've connected it with
> the method:
>
> - (IBAction)exitApp:(id)sender
> {
> // TODO
> }
>
> Now my question is: "Which call I have to do to quit my application instead
> of // TODO?"
> Is there a NSsomething to call?
--
--Luca C.
_______________________________________________
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