I need to convert NSTableView data into something suitable for consumption by a spreadsheet
I need to convert NSTableView data into something suitable for consumption by a spreadsheet
- Subject: I need to convert NSTableView data into something suitable for consumption by a spreadsheet
- From: "Michael A. Crawford" <email@hidden>
- Date: Tue, 18 Aug 2009 17:27:42 -0400
I have an application that uses an NSTableView, bindings, and an
NSArrayController to manage some data pertinent to my application.
While running the application, I realize that I need to do some
statistical analysis on the data in the table-view and it would be a
nice feature to dump this data in a format that could easily be
digested by a spreadsheet. I'm thinking CSV (maybe you have a better
format suggestion).
So, I'm looking for suggestions as to the best way to add this
feature. I could iterate through the objects in the array and use
some posix code to write the data out in CSV format but there must be
a better, more Cocoa oriented, way.
Any one have a brilliant idea that leverages Cocoa in a way that will
be relatively quick and easy?
-Michael
----------------------
The united stand. The divided get played.
-- Bernie MAC
_______________________________________________
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