Re: Creating the app menu from scratch
Re: Creating the app menu from scratch
- Subject: Re: Creating the app menu from scratch
- From: "Jim Crafton" <email@hidden>
- Date: Mon, 14 Jul 2008 00:25:03 -0400
> Can you elaborate on why? Most of the time from what I've seen, when
> people think they need to do this, they really don't. For example:
Sure, I'm porting a framework over to OS X. The framework (in C++),
doesn't use NIBs, but does (obviously) use menu items and thus I need
to be able to populate the menu bar. I had figured populating it
programmatically wouldn't be this difficult. The framework libs will
exist as OS X Frameworks, and I wasn't sure if I can have nib's in the
Framework binary. Everything else in Cocoa seems relatively
straightforward, I'm not sure why menus are such a big deal.
> - People implementing a framework that needs to create everything
> programmatically. Instead of going without a nib, create a stub
> MainMenu.nib which contains as little as possible but still gets your
> program up and running. At that point you can then customize the menu
> and everything else in code.
This is my case. I'll try and look into that. Any examples like this
around (keeping in mind that this eventually has to exist inside of a
Framework as opposed to an app)?
Cheers
Jim
_______________________________________________
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