• 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: regarding nib files.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: regarding nib files.
      • From: Stéphane Sudre <email@hidden>
References: 
 >Re: regarding nib files. (From: Henri Lamiraux <email@hidden>)

  • Prev by Date: Re: Talking to a different NIB
  • Next by Date: Re: regarding nib files.
  • Previous by thread: Re: regarding nib files.
  • Next by thread: Re: regarding nib files.
  • Index(es):
    • Date
    • Thread