• 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
Best way to display dictionary in a table
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Best way to display dictionary in a table


  • Subject: Best way to display dictionary in a table
  • From: Rick Hoge <email@hidden>
  • Date: Thu, 18 Aug 2005 15:42:13 -0400


I've always wished there was an easy way to 'bind' two columns of an NSTableView to an NSDictionary or NSMutableDictionary and have the keys displayed in one column and the values in the other, with editing of values etc. etc. Of course this is not supported (not exactly clear how it would work) and so before I go and implement a brute force solution using table delegate methods, I'm wondering if anyone else has come up with a simple solution to what must be a common need. What is the 'right' way to display the contents of a dictionary and allow users to edit the values (assuming they are strings)?


Thanks for any suggestions,

Rick

_______________________________________________
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


  • Follow-Ups:
    • Re: Best way to display dictionary in a table
      • From: Andreas Mayer <email@hidden>
  • Prev by Date: Core Data is certainly speedy
  • Next by Date: Re: NSTableView blurry contents
  • Previous by thread: Core Data is certainly speedy
  • Next by thread: Re: Best way to display dictionary in a table
  • Index(es):
    • Date
    • Thread