• 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: dynamic GUI, how to?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
References: 
 >dynamic GUI, how to? (From: Peter Lau <email@hidden>)

  • Prev by Date: Doc App - Errors closing an document.
  • Next by Date: Re: Problems with NSURLRequest and HTTP POST Form Data
  • Previous by thread: Re: dynamic GUI, how to?
  • Next by thread: Programmatically restarting Mac OS X
  • Index(es):
    • Date
    • Thread