Best practices for synchronizing a web service with offline storage on iOS

I worked on several iOS applications that talk to the REST API on a web server and then sync some data for offline use. The application then saves data locally if a network connection is not available, and synchronizes with the backend whenever an Internet connection is available.

I am wondering if there is a good template or set of rules or libraries that can be used. I would rather not code this over and over. I know that the business logic / synchronization logic will be different for each application, but the rest of the work (i.e.Localization calling the REST API) can be abstracted.

Any ideas?

+7
source share
1 answer

I am using RestKit in my application for the exact scenario that you are describing. Downloaded data is stored in the master data warehouse for offline use.

+3
source

All Articles