• 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: When should I use multiple NIBs ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When should I use multiple NIBs ?


  • Subject: Re: When should I use multiple NIBs ?
  • From: "John Buckley" <email@hidden>
  • Date: Mon, 5 Jun 2006 14:59:53 +0100

On 05/06/06, Wayne Pascoe <email@hidden> wrote:
Hi all,

Could someone please point me to some documentation that helps
understand when I should use multiple NIBs and when I should just use
the same NIB for all of my GUI windows / panels.

Hi,

Good practise is to put elements which are part of your main
application/document interface into one nib, and put other less used
interface elements (e.g. dialogs, inspectors, preferences etc) into
other nib files, usually one per interface element. The main aim is to
avoid loading un-necessary interface at runtime. Load only what is
essential in your main nib and then load the rest of the interface
on-demand.

If you main nib becomes very complex, then you might also want to
think about breaking this down too. Not for runtime reasons, but to
make the nib itself less complex and more managable.

Also see: http://developer.apple.com/documentation/Cocoa/Conceptual/LoadingResources/index.html#//apple_ref/doc/uid/10000051i

John

--
------------------------
Dr. John Buckley
email@hidden

Mac OS X Tiger
------------------------
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >When should I use multiple NIBs ? (From: Wayne Pascoe <email@hidden>)

  • Prev by Date: Re: WebKit & high memory consumption
  • Next by Date: Re: Drag & Drop iTunes Playlists
  • Previous by thread: When should I use multiple NIBs ?
  • Next by thread: Issues with the NSFormatter
  • Index(es):
    • Date
    • Thread