On Jul 12, 2008, at 4:54 PM, John Velman wrote:

So, being new to Cocoa, XCode, objective-c, How do I get my data into my
new Cocoa / core data "database"?

I can think of two approaches off hand:

2) writing an import routine for my application, using NSTask (?) and
sqlite3.  This would likely only be used once.

3) Write an import routine for your application using the SQLite 3 API in <sqlite3.h>.

Just prepare and step through queries of your old data using the raw SQLite 3 API, and insert new instances of your Core Data entities and set the appropriate properties on them as you go.

  -- Chris

_______________________________________________

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