Re: error exit
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