Reputation: 1457
Hello tried using restkit with coredata. I think that it is great but I think that there is too much magic going on.
I have an issue, a user downloads a file and I set the entity downloaded property to YES. I restart the app and the app connects to the server which and reskit nulls my changes because the server doesn't have this parameter. Is there any way to prevent restkit from overriding my local entities?
Thanks.
Upvotes: 1
Views: 212
Reputation: 119031
When you create your RKManagedObjectStore
instance, you need to supply it with a managedObjectCache
- this is what gives it the ability to find existing items and prevent duplicates. You would often use an instance of RKInMemoryManagedObjectCache
for this.
Upvotes: 1