Feb 24, 2017 · 1 min read
I’m making an app that has offline capabilities but I’m still finding difficulties wrapping my head around the architecture. I have a Swift Server app using CouchDB and I would also want to have a local database on the iOS client like Couchbase lite or Cloudant sync. So the problem is when I’m running queires, do I query the localdb or send query to server. And also when doing posts ? do I post to server or just sync
