• 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: [NSApp mainMenu] returns nil under 10.4.3
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [NSApp mainMenu] returns nil under 10.4.3


  • Subject: Re: [NSApp mainMenu] returns nil under 10.4.3
  • From: Uli Kusterer <email@hidden>
  • Date: Tue, 29 Nov 2005 11:15:37 +0100

Am 29.11.2005 um 10:41 schrieb Steve Checkoway:
Actually, I did exactly as you suggested and it works perfectly. It's just that I find it hard to believe that using a nibless application is all that uncommon. It certainly shouldn't require expert (it is past midnight for me, so this doesn't make it 3 times in one day) status to do it.

Keep in mind that NIBs are actually a major feature of Cocoa. You set up your GUI graphically, even some of your app's interactions. So not using one of the main features of an application is a fringe case, and fringe cases are something "Jobs-2-era"-Apple hasn't really managed to do as well as the original Toolbox did. (Not that I'm complaining -- we were lucky to get such a good API the first time round -- this stuff is hard!)


For most uses, a minimal NIB file is sufficient. You can always add the other menus dynamically at runtime. An actual requirement to have *all* menus built without a NIB sounds like a very odd thing to do, and since you were surprised that you didn't have a few default menus, I suspect you don't actually need that?

Cheers,
-- M. Uli Kusterer
http://www.zathras.de


_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >[NSApp mainMenu] returns nil under 10.4.3 (From: Alex Fischer <email@hidden>)
 >Re: [NSApp mainMenu] returns nil under 10.4.3 (From: "John C. Randolph" <email@hidden>)
 >Re: [NSApp mainMenu] returns nil under 10.4.3 (From: Alex Fischer <email@hidden>)
 >Re: [NSApp mainMenu] returns nil under 10.4.3 (From: j o a r <email@hidden>)
 >Re: [NSApp mainMenu] returns nil under 10.4.3 (From: Steve Checkoway <email@hidden>)

  • Prev by Date: Re: Binding date formatters to user's locale date format preferences?
  • Next by Date: Re: Message.framework
  • Previous by thread: Re: [NSApp mainMenu] returns nil under 10.4.3
  • Next by thread: Re: [NSApp mainMenu] returns nil under 10.4.3
  • Index(es):
    • Date
    • Thread