• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Exit an Application
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Exit an Application


  • Subject: Re: Exit an Application
  • From: Filip van der Meeren <email@hidden>
  • Date: Mon, 13 Apr 2009 16:19:32 +0200

You could always call exit(); from C
or [NSApp terminate:XXX];

Filip van der Meeren
email@hidden
http://sourceforge.net/projects/xlinterpreter

On 13 Apr 2009, at 16:13, Luca Ciciriello wrote:

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?


Thanks in advance for any help.

Luca.

P.S.
I know you can answer me to read some manual before post these questions, but I've to release this app to my boss in less than an hour. Sorry.


_______________________________________________

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



_______________________________________________

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


  • Follow-Ups:
    • Re: Exit an Application
      • From: Uli Kusterer <email@hidden>
References: 
 >Exit an Application (From: Luca Ciciriello <email@hidden>)

  • Prev by Date: Re: Exit an Application
  • Next by Date: Re: Exit an Application
  • Previous by thread: Re: Exit an Application
  • Next by thread: Re: Exit an Application
  • Index(es):
    • Date
    • Thread