Re: regarding nib files.
Re: regarding nib files.
- Subject: Re: regarding nib files.
- From: Ondra Cada <email@hidden>
- Date: Fri, 31 Aug 2001 19:24:18 +0200
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.
From the tutorial viewpoint, it also might help a newbie to grasp patterns
one by one: first learning window management through simple outlets to the
main, automatically loaded NIB, then learning multiple NIB management.
---
Ondra Cada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc