• 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: error exit
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error exit


  • Subject: Re: error exit
  • From: Fritz Anderson <email@hidden>
  • Date: Mon, 1 Sep 2008 12:26:04 -0500

On 1 Sep 2008, at 4:29 AM, Uli Kusterer wrote:

ExitToShell() is an abnormal, immediate exit (which is not what [NSApp terminate:] is, because that gives you the opportunity to save data before it quits). If an equivalent is desired, you should really be calling QuitApplicationEventLoop() in Carbon. ExitToShell() is pretty much equivalent to Unix's exit() call, so not really a desirable choice for most Mac apps.

I agree, but the user appeared to want an immediate exit. I chose not to comment on the human-interface design. I figured he was a beginner, and that would come later.


	— F

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Re: error exit (From: Uli Kusterer <email@hidden>)

  • Prev by Date: Re: Spaces in NSUserDefaults keys not allowed in IB 3.1?
  • Next by Date: Xcode 3.1 step into
  • Previous by thread: Re: error exit
  • Next by thread: Re: Xcode locking up in building
  • Index(es):
    • Date
    • Thread