Re: Cocoa Newbie Crash Question
Re: Cocoa Newbie Crash Question
- Subject: Re: Cocoa Newbie Crash Question
- From: Mikey <email@hidden>
- Date: Mon, 27 Oct 2003 00:22:54 -0500
Read the documentation on NSApplication. It describes what basically
happens in NSApplicationMain. In particular, your application isn't
connected to the window server until it calls [NSApplication
sharedApplication]. I suspect that you won't be able to create a Cocoa
alert dialog until after that method has been called.
On 26 Oct, 2003, at 9:39 PM, email@hidden wrote:
I have a very simple Cocoa/IB app that crashes and dies on startup.
All I want to do is start the app and put up one single alert. Here
is my main.m file:
Michael Sullivan
email@hidden
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.