• 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: Display csv in a tableView with bindings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Display csv in a tableView with bindings


  • Subject: Re: Display csv in a tableView with bindings
  • From: Aaron Burghardt <email@hidden>
  • Date: Sun, 26 Jul 2009 06:32:10 -0400


On Jul 24, 2009, at 8:11 PM, email@hidden wrote:

I need some direction please.

I would like to load a csv file and display the contents in an NSTableView. What is the best way to achieve this with bindings?

Should the model store the data in an array of arrays (rows and columns) or a dictionary of arrays (keyed columns and rows)?


Neither, you want an array of dictionaries where each row of CSV is a dictionary in which the values keyed to column names and each row of CSV is one dictionary object in the array.


Aaron

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Display csv in a tableView with bindings
      • From: "I. Savant" <email@hidden>
References: 
 >Display csv in a tableView with bindings (From: email@hidden)

  • Prev by Date: Re: NSButton setImage in runtime : where is template image?
  • Next by Date: Passing data between NSOperation and main thread
  • Previous by thread: Display csv in a tableView with bindings
  • Next by thread: Re: Display csv in a tableView with bindings
  • Index(es):
    • Date
    • Thread