Re: regarding nib files.
Re: regarding nib files.
- Subject: Re: regarding nib files.
- From: Stéphane Sudre <email@hidden>
- Date: Fri, 31 Aug 2001 19:41:36 +0200
On vendredi, ao{t 31, 2001, at 07:24 PM, Ondra Cada wrote:
Henri,
Henri Lamiraux (HL) wrote at Fri, 31 Aug 2001 09:49:29 -0700:
HL> If you have only two windows and those two windows are always on the
HL> screen it is fine to have them in the same nib file. One way to
decide
HL> if a window and associated objects need to be in a separate nib is
to
HL> ask yourself the following question: in the normal course of using
my
HL> app is the user likely to use this window? If the answer is no then
HL> create a separate nib. For example why loading the preferences
window
HL> and all objects associated at launch time if the user never ask for
the
HL> preferences? Preferences window should be in a separate nib.
Can't be argued. Though for _simple_ applications I would advocate for
having all windows in one nib. Just for the very reason that it saves
(some,
not much) time developing, and for _simple_ apps even the time might be
relatively important.
Sriously, where is the time-killer in the development ?
The solution : 1 window = 1 nib has a tremendous interest if you're like
me and you never remember which window is Window, Window 1, Window 2,
Window 3.
BTW, it could be interesting to have the title of the window instead of
Window #.