Main Nib File and MainMenu Question
Main Nib File and MainMenu Question
- Subject: Main Nib File and MainMenu Question
- From: Oliver Cameron <email@hidden>
- Date: Sat, 20 Dec 2003 21:33:48 +0000
Hey guys,
I have a dilemma, here is a break down:
I have 2 nib files, MainMenu.nib (with my main menu in) and
Document.nib (with my document window in). My Document.nib's Files
Owner is a NSDocument subclass. Basically, for some code to work I need
to make Document.nib the Main Nib File (can be set in target ->
properties in Xcode). But of course, doing this will show no menu. I
don't want to put the menu in Document.nib but rather keep it in
MainMenu.nib.
I would like to stress that the Main Nib File has to be Document.nib
for the application to work.
So my question is, how do I load the MainMenu.nib and load the Menu,
yet still keep Document.nib as the Main Nib File?
Example code appreciated,
Thanks,
Oliver
_______________________________________________
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.