Couchbase Lite 2.0 (Developer Build)

Couchbase Lite is an embedded lightweight, document-oriented (NoSQL), syncable database engine.

Couchbase Lite 2.0 has a completely new set of APIs. The implementation is on top of Couchbase Lite Core, which is also a new cross-platform implementation of database CRUD and query features, as well as document versioning.

THIS IS NOT A RELEASED PRODUCT. THIS IS NOT FINISHED CODE. This is currently in a very early stage of the implementation.

Requirements

  • iOS 8.0+ | macOS 10.10+ | tvOS 9.0+
  • Xcode 8

Installation

CocoaPods

You can use CocoaPods to install CouchbaseLite for Objective-C API or CouchbaseLiteSwift for Swift API by adding it in your Podfile:

CouchbaseLite (Objective-C API)

target '<your target name>' do
  use_frameworks!
  pod 'CouchbaseLite', :git => 'https://github.com/couchbase/couchbase-lite-ios.git', :tag => '2.0DB003', :submodules => true
end

CouchbaseLiteSwift (Swift API)

target '<your target name>' do
  use_frameworks!
  pod 'CouchbaseLiteSwift', :git => 'https://github.com/couchbase/couchbase-lite-ios.git', :tag => '2.0DB003', :submodules => true
end

Carthage

You can use Carthage to install CouchbaseLite by adding it in your Carfile:

github "couchbase/couchbase-lite-ios" "2.0DB003"

When running carthage update or build, Carthage will build both CouchbaseLite and CouchbaseLiteSwift framework.

Sample Apps

  • Todo : Objective-C and Swift

License

Like all Couchbase source code, this is released under the Apache 2 license.