• 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: Main Menu Duplication Feature
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Re: Glyph range in textContainers
  • Next by Date: NSImage & BMP
  • Previous by thread: Re: Low-level equivalent of NSLock?
  • Next by thread: NSImage & BMP
  • Index(es):
    • Date
    • Thread