Dialogs and NIB's
Dialogs and NIB's
- Subject: Dialogs and NIB's
- From: Alan Nilsson <email@hidden>
- Date: Thu, 19 Dec 2002 22:54:33 -0800
So I was just curious how most people handle dialogs & sheets in larger
applications.
Lets say we have an application that will have many dialogs (or sheets) and
each will require a couple of different pieces of information. Furthermore,
lets say about 1/4 of these will be used from more than one window.
Would it be better to pack all these dialogs into one nib and load the nib
when a dialog was needed? Would it be better to include the dialog with the
window (panel) nib it is associated with (in which case we have some
duplication)?
Everything I have done so far has included the dialog in the same nib as the
window which makes it really easy to make the connections, but it seems to
me that the NSWindowController class is more suited (not that it won't work)
to dealing with a single window in the nib.
If all the dialogs are in a single nib, how difficult is it to load ( and
unload the nib ) and make the appropriate connections?
Comments . . . Discussion . . . Preferences . . . Your mothers shoe size
Anyone?
Alan
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.