Re: dynamic GUI, how to?
Re: dynamic GUI, how to?
- Subject: Re: dynamic GUI, how to?
- From: Andreas Mayer <email@hidden>
- Date: Wed, 14 Jun 2006 09:59:12 +0200
Am 13.06.2006 um 20:58 Uhr schrieb Peter Lau:
Since I have quite of number of categories, I don't think I want to
layout everything in one nib window and write a lot of show and
hide calls depends on which category is chosen.
And I don't want to do a once size fit all approach. So, each pane
from each category will need to resize the window to make it looks
best.
Is there a known or common design pattern for this type of GUI?
Yes. You would create a separate NIB file for each component and load
it when needed.
It is even quite simple to put your code in a separate bundle and
load that on demand too.
For an example have a look at my AMPreferencePane classes:
http://www.harmless.de/cocoa.html#prefpane
Andreas
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden