0

I want to use RestKit in my application, and just read through the ReadMe file. One thing I want to confirm is that, will RestKit auto-recover all operations that failed with network issue when network resumes? If so, how to enable this feature? If not, any suggestion about this feature is welcome

Yuwen Yan
  • 4,777
  • 10
  • 33
  • 63
  • No, it won't, you need to design a scheme yourself to manage the situation – Wain Sep 11 '15 at 22:27
  • Thanks @Wain, could you share more information about how to create/update/delete local objects without network and then how to update the server when network resumes. – Yuwen Yan Sep 15 '15 at 10:56
  • I don't think it's a specific requirement, just want to make sure there is no duplicate work about this feature. – Yuwen Yan Sep 15 '15 at 10:58
  • Take a look at http://stackoverflow.com/questions/21388797/restkit-0-20-json-mapping-along-with-additional-offline-data and http://stackoverflow.com/questions/21236009/need-help-for-restkit-data-sync-scenario – Wain Sep 15 '15 at 11:20
  • Get it, thank your very much – Yuwen Yan Sep 15 '15 at 11:23

1 Answers1

0

Just use https://github.com/tonymillion/Reachability It's simple with blocks and works like a charm

Rana Tallal
  • 424
  • 7
  • 15
  • Thanks for your answer. But for this question, I'd like to know more about how to update objects in offline mode and how to update the server when network resumes. – Yuwen Yan Sep 15 '15 at 11:01