• 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
Main Nib File and MainMenu Question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Main Nib File and MainMenu Question
      • From: Fritz Anderson <email@hidden>
  • Prev by Date: Re: Simple Newbie Question on Calling a Method
  • Next by Date: Re: -get<Key>:range:
  • Previous by thread: Re: Simple Newbie Question on Calling a Method
  • Next by thread: Re: Main Nib File and MainMenu Question
  • Index(es):
    • Date
    • Thread