Sample and walk through for offline support in iOS client