• 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
Dynamic MainMainNib Loading
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Dynamic MainMainNib Loading


  • Subject: Dynamic MainMainNib Loading
  • From: Ben Einstein <email@hidden>
  • Date: Tue, 19 Feb 2008 21:31:15 -0500

This has been discussed 1 or 2 times previously, but with no concise answer.

I'm looking to change the MainMenu NIB file when an application loads. I have two different MainMenus; one loads a set of subclasses of the other. It works fine to manually change at compile time which NIB to use or even manually change inside the app's bundle. But I want to provide a user default that would be read at startup. Is there any way to catch the loading of the application before it pulls the NIB name from the plist?

Is there a less hackish way to load two different sets of main menus?

Ben
_______________________________________________

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


  • Follow-Ups:
    • Re: Dynamic MainMainNib Loading
      • From: Jonathan Hess <email@hidden>
References: 
 >A window that rejects focus (From: John Stiles <email@hidden>)
 >Re: A window that rejects focus (From: "Kyle Sluder" <email@hidden>)
 >Re: A window that rejects focus (From: John Stiles <email@hidden>)
 >Re: A window that rejects focus (From: "Kyle Sluder" <email@hidden>)
 >Re: A window that rejects focus (From: John Stiles <email@hidden>)

  • Prev by Date: Re: A window that rejects focus
  • Next by Date: makeFirstResponder returns NO
  • Previous by thread: Re: A window that rejects focus
  • Next by thread: Re: Dynamic MainMainNib Loading
  • Index(es):
    • Date
    • Thread