Re: Programatically creating NSMenu?
Re: Programatically creating NSMenu?
- Subject: Re: Programatically creating NSMenu?
- From: Uli Kusterer <email@hidden>
- Date: Thu, 9 Apr 2009 02:08:16 +0200
On 08.04.2009, at 15:13, Daqi Pei wrote:
Again I'm doing this only to understand how the system works. Did I
miss
something or it's just the way the framework was designed?
It's how Cocoa was designed. In general, you don't need this level
of detailed knowledge.
For practical uses, the approach generally recommended (and least
likely to break with system updates), is to create a minimal NIB as
the main NIB (one that only contains the application menu, and nothing
else) and then modify that in code.
Cheers,
-- Uli Kusterer
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden