Re: dynamic GUI, how to?
Re: dynamic GUI, how to?
- Subject: Re: dynamic GUI, how to?
- From: Travis Siegel <email@hidden>
- Date: Tue, 13 Jun 2006 16:28:53 -0400
It is possible to code a gui from scratch, w/o using a nib. However,
it's a bit of a pain, and not well documented (at least not that I've
found) It also seems that in general, folks try to discourage this
kind of behavior. Why is beyond me. For me, since I cannot see, and
interface builder is less than cooperative with voice over, I write a
lot of interfaces from scratch. It takes a long time, and is error
prone, but it does work. If none of the other approaches posted here
work for you, let me know, and I'll send what I have. I got most of
the information from the Gnu Pascal code that gets generated when you
start a new pascal project in cocoa.
If you do find other resources for this kind of thing, I'd sure like
to hear about them
On Jun 13, 2006, at 1:58 PM, Peter Lau wrote:
I am new to Cocoa so if this' been discussed or documented, some
URL's should be enough and welcome to get me going.
Here's the my problem:
I need to implement a GUI that I don't think (correct if I am
wrong) I can layout the whole thing ahead of time...
It's kind of like the XCode's Preferences dialog box. I will have
different categories for the user to choose from first. Then in
each categories, the user will see a different set of GUI.
I have been working through some Cocoa books but the examples I
have seen are mostly static GUI layout, linking controllers to
controls, etc. using IB.
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?
_______________________________________________
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