• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Sqlite and Core Data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Sqlite and Core Data


  • Subject: Sqlite and Core Data
  • From: Thomas Hart <email@hidden>
  • Date: Fri, 16 Oct 2009 22:43:23 -0400

These may have been asked before, if so just point me in the right direction.

I'm trying to build what I hope is a relatively small program that will keep track of authors and books. I've got databases in Postgres and MySql, and I ported the data over to sqlite yesterday.

Now I'm just fooling around at this point, and am trying to learn XCode. I tried building a couple of Core Data apps based on examples in one of the Cocoa for Dummies books, and like the ease of using Core Data.

Can I use Core Data to access the sqlite database that I've created? Are there any files I need to add, or code I need to write?

If I can't use Core Data to access sqlite, do I need to migrate the data to be a persistent store, and are there tools to do that? Xcode doesn't seem to like a straight XML export from sqlite, and tells me that it's the wrong type.

I've tried using Google to find articles, but everything seems to be four or five years old. If there are any pointers to recent articles, it would be appreciated.

Thanks for any help you can give.

Tom Hart


_______________________________________________

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


  • Follow-Ups:
    • Re: Sqlite and Core Data
      • From: Jens Alfke <email@hidden>
    • Re: Sqlite and Core Data
      • From: Jerry Krinock <email@hidden>
  • Prev by Date: OK/Cancel buttons on NSColorPanel
  • Next by Date: Re: OK/Cancel buttons on NSColorPanel
  • Previous by thread: Re: OK/Cancel buttons on NSColorPanel
  • Next by thread: Re: Sqlite and Core Data
  • Index(es):
    • Date
    • Thread