by jimbokun · 13y ago · 0 comments
https://github.com/couchbaselabs/TouchDB-iOS
Of course, you would need to support some form of CouchDB server for this to work, deal with authentication, etc.
Reading documents from the local TouchDB store would block the main thread until the upstream CouchDB server would reply with the document's current revision, even if the local store already has an existing version of the document. Using GCD to wrap around these document transactions was still clunky at best and resulted in a poor overall UX.
YMMV, perhaps these issues could have been worked around if I had had a more realistic deadline and stayed in touch with the community. The maintainer, Jens Alfke, is very active.