• 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: Hiding an NSControl
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.
  • Follow-Ups:
    • Re: Hiding an NSControl
      • From: Wade Tregaskis <email@hidden>
    • Re: Hiding an NSControl
      • From: John Stiles <email@hidden>
References: 
 >Re: Hiding an NSControl (From: John Stiles <email@hidden>)

  • Prev by Date: Re: Subclassing dictionaries?
  • Next by Date: Re: Newbie question: forcing data format during saveDocumentTo:
  • Previous by thread: Re: Hiding an NSControl
  • Next by thread: Re: Hiding an NSControl
  • Index(es):
    • Date
    • Thread