NSFetchRequest has a setFetchBatchSize: method. I'd definitely start with that. 

As for creating a CSV file, take a look at the CSV reader/writer I wrote: 
http://github.com/davedelong/CHCSVParser

HTH,

Dave

Sent from my iPhone

On Oct 10, 2010, at 1:26 AM, Devraj Mukherjee <[email protected]> wrote:

> Hi all,
> 
> I am working on adding an "export data" option to my application which
> uses Core Data. Preferably export it to CSV so the user can use a
> spreadsheet program to work with data.
> 
> The data sets I am dealing with can be quite large, and am wondering
> if fetching all the records from my Core Data model, looping over them
> and writing out a CSV file is the most efficient way of exporting a
> Core Data result set to CSV?
> 
> I did Google around / Check the dev forums for discussions but didn't find 
> much.
> 
> Any thoughts / suggestions / experiences are welcome.
> 
> Thanks.
> _______________________________________________
> 
> Cocoa-dev mailing list ([email protected])
> 
> 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:
> http://lists.apple.com/mailman/options/cocoa-dev/davedelong%40me.com
> 
> This email sent to [email protected]
_______________________________________________

Cocoa-dev mailing list ([email protected])

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to