 |
 |
displaying csv file in NSTableView
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jun 2000
Location: New York, NY
Status:
Offline
|
|
Does cocoa have a quick way of displaying a csv file in a tableView or do I have to code it up?
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Oct 2001
Location: London
Status:
Offline
|
|
|
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jun 2000
Location: New York, NY
Status:
Offline
|
|
i saw this program  i don't want to just edit a csv... i want to do a bit more with it.
|
|
|
| |
|
|
|
 |
|
 |
|
Professional Poster
Join Date: Oct 2001
Location: London
Status:
Offline
|
|
Well, I would imagine that code would be very useful getting you started.
|
|
|
| |
|
|
|
 |
|
 |
|
Clinically Insane
Join Date: Oct 2001
Location: San Diego, CA, USA
Status:
Offline
|
|
No, it doesn't have a built-in way, but it should be trivial to read a CSV into an NSArray.
|
|
Chuck
___
"Instead of either 'multi-talented' or 'multitalented' use 'bisexual'."
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jun 2000
Location: New York, NY
Status:
Offline
|
|
Originally Posted by Chuckit
No, it doesn't have a built-in way, but it should be trivial to read a CSV into an NSArray.
Thanks, this is what I am doing now.. just wanted to make sure there wasn't a 'better' way.
|
|
|
| |
|
|
|
 |
|
 |
|
Mac Enthusiast
Join Date: Jun 2000
Location: New York, NY
Status:
Offline
|
|
Originally Posted by Diggory Laycock
Well, I would imagine that code would be very useful getting you started.
Checked out his code... thanks for finding this..
[NSString withContentsOfFile] reads a file right in! Very cool Apple.
|
|
|
| |
|
|
|
 |
 |
|
 |
|
|
|
|
|

|
|
 |
Forum Rules
|
 |
 |
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
|
HTML code is Off
|
|
|
|
|
|
 |
 |
 |
 |
|
 |
|