Re: Main Menu Duplication Feature
Re: Main Menu Duplication Feature
- Subject: Re: Main Menu Duplication Feature
- From: Steve Klingsporn <email@hidden>
- Date: Wed, 13 Nov 2002 16:52:58 -0600
My best guess is the Cocoa framework is begging for help in any way
that it can at this point. ;o)
I would call NSRunCriticalAlertPanel in applicationDidFinishLaunching
instead of awakeFromNib. While I don't know anything about this
particular call, in my Cocoa-Java app, I have run into many problems
when I assume the existence of a window environment from awakeFromNib.
I try to do anything that requires that a window be present and set up
from applicationDidFinishLaunching, and put things that I want to run
immediately (perceptually) at the beginning of my implementation of
that method from my controller class.
Then again, crashing in the Objective Sea from Java is a real headache
for me, as the Obj-C symbols in the crash logs only give me so much
information, and the crashes seem to happen outside of the reach of the
Java Debugger, leaving me sprinkling random acts of
System.out.println() in my code until I find the offender (usually).
Steve
_______________________________________________
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.