I am fairly new to RestKit and in general with synching core data with a RESTful web service. To simplify this I have decided to use RestKit for only backing up the local store to our rails backend.
So here are two questions that are currently on top of my list:
1) What is the best practice for using RestKit to backup core data? I was thinking to create a local context that my apps uses to do all the fetch/create/update/delete operations (locally and persist them on the persistent store) Then in background allow RestKit via RKManagedObjectStore to do the backup using its own MOC every 5 minutes.
2) Does RestKit provides some handles methods to retry HTTP requests when offline? How do I manage situations such as a local CREATE and a local EDIT on the same entity? I was thinking to use Create/Update/Delete flags as suggested by Blake in one of his comments.
Thanks a lot for your help!