Re: Hiding an NSControl
Re: Hiding an NSControl
- Subject: Re: Hiding an NSControl
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 3 Sep 2003 21:06:06 -0700
On Wednesday, September 3, 2003, at 05:46 PM, John Stiles wrote:
But it's all implemented with the same nib. I am implementing a window
that can display a message, an arbitrary number of checkboxes (up to a
hard limit, in my case 4), and two buttons. How many checkboxes we
actually need depends on the situation--it depends on stuff I'm
reading from a data file. It won't be confusing at all.
I did something like this in HenWen (see my Web page) by using an
NSArray data source with NSDictionary objects in the NSArray, and set
up an NSTableView data source that used this array. The list of check
boxes is completely dynamic, and is in fact based on information read
in from a data file.
So using NSTableView is probably the best way of doing what you want to
do...
Nick Zitzmann
AIM/iChat: dragonsdontsleep
Check out my software page:
http://seiryu.home.comcast.net/
"I have always wished that my computer would be as easy to use as my
telephone. My wish has come true. I no longer know how to use my
telephone." - Bjarne Stroustrup
_______________________________________________
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.