ruby on rails - IOS Core Data or Caching for Offline User Experience -


i new ios , looking way improve user experience when network bad or there's no network @ all. app uses rails server back-end.

for example, users can send messages each other, , able display 10 recent conversations of user if offline, can still check last messages.

what best way accomplish kind of features? core data or caching techniques?

thx help

core data approach caching, built enormous amounts of data. it's extremely quick rather hard use , meant more complex situation saving cache.
don't know app cant tell should use, there other options might want @ nsuserdefaults , nscache extremely easy use considered slower. , of course can find plenty of third-party options on github.
luck!


Comments

Popular posts from this blog

javascript - oscilloscope of speaker input stops rendering after a few seconds -

javascript - gulp-nodemon - nodejs restart after file change - Error: listen EADDRINUSE events.js:85 -

Fatal Python error: Py_Initialize: unable to load the file system codec. ImportError: No module named 'encodings' -