Re: regarding nib files.
Re: regarding nib files.
- Subject: Re: regarding nib files.
- From: Henri Lamiraux <email@hidden>
- Date: Fri, 31 Aug 2001 09:49:29 -0700
If you have only two windows and those two windows are always on the
screen it is fine to have them in the same nib file. One way to decide
if a window and associated objects need to be in a separate nib is to
ask yourself the following question: in the normal course of using my
app is the user likely to use this window? If the answer is no then
create a separate nib. For example why loading the preferences window
and all objects associated at launch time if the user never ask for the
preferences? Preferences window should be in a separate nib.
On Friday, August 31, 2001, at 09:03 AM, Enigmarelle Development wrote:
>
What are the advantages of separate nib files, other than faster launch
>
speeds? I'm working on a single window app, that only has a main window
>
and an inspector window, plus a couple of controller objects, all in
>
the mainmenu.nib file - hey, I was a newbie when I started it; now I'm
>
less of a newbie, but the thing works so I'm reluctant to go tearing it
>
up again :
>
}
>
>
Would I see a tremendous speed improvement in this type of app by
>
splitting it up into separate nibs? It seems like better OO design, but
>
as I said, I finally have a working Cocoa app and I'd like to enjoy the
>
feeling for awhile!
>
Henri Lamiraux
Engineering Manager
User Interface Tools Group
Apple