• 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
Re: single vs multiple NIBs
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: single vs multiple NIBs


  • Subject: Re: single vs multiple NIBs
  • From: Jean-Daniel Dupas <email@hidden>
  • Date: Thu, 14 Feb 2008 16:03:01 +0100


Le 14 févr. 08 à 15:57, Torsten Curdt a écrit :

Hey,

I would like get some input on when to use a single NIB and when to load up other NIBs manually.

E.g. there is a PreferenceController example in Aaron's "Cocoa Programming for Mac OSX" that does load the preferences NIB manually when you click on the menu item. What makes me wonder is - why not just include that window into the same MainMenu.nib?

cheers
--
Torsten

because the preferene pane is rarely opened and do not need to be loaded at startup (that will increase your foot-print and your launch time).


Have a look at this chapter, (http://developer.apple.com/documentation/Cocoa/Conceptual/LoadingResources/CocoaNibs/chapter_3_section_5.html )

_______________________________________________

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


References: 
 >single vs multiple NIBs (From: Torsten Curdt <email@hidden>)

  • Prev by Date: NSTreeController not updating model object properly
  • Next by Date: Re: single vs multiple NIBs
  • Previous by thread: single vs multiple NIBs
  • Next by thread: Re: single vs multiple NIBs
  • Index(es):
    • Date
    • Thread