small medium large xlarge

Back to: All Forums  Core Data
01 Apr 2009, 14:21
Greg Robertson (21 posts)

Any chance of a short chapter on how to import existing data into CoreData.

For example how to import a CSV file and then save the data as a CoreData persistent store (such as SQLite) for bundling with an application.

Or how to convert a non-CoreData SQLite file to a CoreData SQLite file.



01 Apr 2009, 16:44
Marcus S. Zarra (284 posts)

There really is no way to import a non-Core Data sqlite file into Core Data. The differences internally are too great.

We do cover importing a little bit in the multi-threading chapter but we don’t touch on CSV files or anything like that nor is there a plan to in the current release of the book. However I will look into doing an article on the subject in the near future.

You must be logged in to comment