Reputation: 53
Is there a simple solution or framework to use a couchDB database in an iOS application? I need to copy a database and store it locally in the app, so I need functions like pulling down a remote database, etc. What would be the best route for me to take to access my couchDB in my app (in swift)? I have tried couch base lite, but have had much trouble using it.
Upvotes: 4
Views: 5197
Reputation: 4699
I know this was asked over 3 years ago, and just wanted to update the list.
You might want to also take a look at this
https://github.com/cloudant/swift-cloudant
A Swift Lang client for Cloudant and CouchDB
I haven't tried it yet, but plan to as I am also still looking for a way to use CouchDB on an iOS project of mine.
Upvotes: 1
Reputation: 3690
Here are few options :
According to my search, CouchBase Lite seems the best options.
You can also develop your own library. Since CouchDB has a HTTP RestFul API, it's pretty easy to do.
Otherwise, PouchDB if a very powerful library to use CouchDB on mobile. Therefore, it's only available for hybrids applications(JavaScript).
Upvotes: 3