Backup core data with RestKit 0.20

别来无恙 提交于 2019-12-03 21:35:18

Directly from Blake the creator of RestKit ! ​ Short answer: there is no ready solution for sync with RestKit (when offline) but Blake points at a small but very interesting starting point - if you have any other idea please feel free to suggest. I am still looking for the best way to do this.​

Blake Watters:

  1. I've never done anything like this before. In theory you should be able to just upload the SQLite, but I have no idea what kind of consistency guarantees you will have about the data.
  2. There is not any kind of built in mechanism for implementing this as its very hard to generalize syncing behaviors to this kind of level. RestKit gives you the low level components to implement something like this and there are some interesting open source efforts underway trying to tackle the problem: https://github.com/eric-horacek/EHObjectSyncManager
易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!