Re: Guidelines for NIB usage
Re: Guidelines for NIB usage
- Subject: Re: Guidelines for NIB usage
- From: "I. Savant" <email@hidden>
- Date: Wed, 25 Jul 2007 13:50:35 -0400
I don't know off-hand that there's necessarily an official guideline
(because I haven't looked), but in general, I usually place
seldom-used UI in their own nib. A rules-editor, for example, may go
many app launches between uses, so there's no need to place it in the
main UI's NIB since you're needlessly un-freeze-drying (is that a
word?) UI that you won't even use most of the time.
The same can be said for a Preferences window - I've seen many
developers put this in the MainMenu.nib, which is perfectly fine
except that your preferences window and all its controls are getting
created and wired up at launch time. How often do you think your users
will actually *use* the preferences window? Hopefully not often or
your UI design is questionable. ;-) Best to put Preferences UI in its
own NIB.
My US $0.02, anyway ...
--
I.S.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden