Re: Core Data and REST
Re: Core Data and REST
- Subject: Re: Core Data and REST
- From: Chris Hanson <email@hidden>
- Date: Sun, 29 Aug 2010 20:14:57 -0700
On Aug 28, 2010, at 10:00 AM, Andy Bell <email@hidden> wrote:
> At a later date I want to use something like REST using JSON to be the backend to Core Data in the application. Is this going to be possible?
Core Data only has API for creating your own atomic persistent stores - that is, persistent stores whose entire contents are read or written at once. This means it doesn't really make sense to talk about REST or JSON as a "back-end" to Core Data.
What does make sense - and is quite common - is using a Core Data SQLite persistent store as a local cache for data on a server, or as a local database synchronized (via your own mechanism) with a server.
-- Chris
_______________________________________________
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