All Projects → couchbase → Couchbase Lite Ios

couchbase / Couchbase Lite Ios

Licence: apache-2.0
Lightweight, embedded, syncable NoSQL database engine for iOS and MacOS apps.

Programming Languages

swift
15916 projects
objective c
16641 projects - #2 most used programming language
Objective-C++
1391 projects
shell
77523 projects
c
50402 projects - #5 most used programming language
SCSS
7915 projects

Projects that are alternatives of or similar to Couchbase Lite Ios

Couchbase Lite Core
Cross-platform C++ core library for Couchbase Lite
Stars: ✭ 187 (-87.79%)
Mutual labels:  sync, database, nosql, mobile
Couchbase Lite C
C language bindings for the Couchbase Lite embedded NoSQL database engine
Stars: ✭ 58 (-96.21%)
Mutual labels:  sync, database, nosql
Realm Cocoa
Realm is a mobile database: a replacement for Core Data & SQLite
Stars: ✭ 14,778 (+864.62%)
Mutual labels:  sync, database, mobile
Realm Dotnet
Realm is a mobile database: a replacement for SQLite & ORMs
Stars: ✭ 927 (-39.49%)
Mutual labels:  sync, database, mobile
Tidis
Distributed transactional NoSQL database, Redis protocol compatible using tikv as backend
Stars: ✭ 1,182 (-22.85%)
Mutual labels:  database, nosql
Aliyun Tablestore Go Sdk
TableStore SDK for Golang
Stars: ✭ 63 (-95.89%)
Mutual labels:  database, nosql
Iotdb
Apache IoTDB
Stars: ✭ 1,221 (-20.3%)
Mutual labels:  database, nosql
Neo4j
Graphs for Everyone
Stars: ✭ 9,582 (+525.46%)
Mutual labels:  database, nosql
Fluent
Vapor ORM (queries, models, and relations) for NoSQL and SQL databases
Stars: ✭ 1,071 (-30.09%)
Mutual labels:  database, nosql
Ftserver Cs
Lightweight iBoxDB Full Text Search Server for C#
Stars: ✭ 81 (-94.71%)
Mutual labels:  database, nosql
Wcdb
WCDB is a cross-platform database framework developed by WeChat.
Stars: ✭ 9,264 (+504.7%)
Mutual labels:  database, mobile
Cog
A Persistent Embedded Graph Database for Python
Stars: ✭ 90 (-94.13%)
Mutual labels:  database, nosql
Nodbi
Document DBI connector for R
Stars: ✭ 56 (-96.34%)
Mutual labels:  database, nosql
Ejdb
🏂 EJDB 2.0 — Embeddable JSON Database engine C library. Simple XPath like query language (JQL). Websockets / Android / iOS / React Native / Flutter / Java / Dart / Node.js bindings. Docker image.
Stars: ✭ 1,187 (-22.52%)
Mutual labels:  database, nosql
Nodejs Driver
DataStax Node.js Driver for Apache Cassandra
Stars: ✭ 1,074 (-29.9%)
Mutual labels:  database, nosql
Vault
Easy persistence of Contentful data for Android over SQLite.
Stars: ✭ 80 (-94.78%)
Mutual labels:  sync, database
Summitdb
In-memory NoSQL database with ACID transactions, Raft consensus, and Redis API
Stars: ✭ 1,295 (-15.47%)
Mutual labels:  database, nosql
Bojack
🐴 The unreliable key-value store
Stars: ✭ 101 (-93.41%)
Mutual labels:  database, nosql
Unqlite
An Embedded NoSQL, Transactional Database Engine
Stars: ✭ 1,583 (+3.33%)
Mutual labels:  database, nosql
Couchdb Net
EF Core-like CouchDB experience for .NET!
Stars: ✭ 50 (-96.74%)
Mutual labels:  database, nosql

Couchbase Lite for iOS and MacOS

License Build Status Coverage Status

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

Couchbase Lite 2.x 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.

Requirements

  • iOS 9.0+ | macOS 10.11+
  • Xcode 10.3+

Installation

Swift Package

Requirements:

  • XCode 12+
Community Edition
dependencies: [
        .package(name: "CouchbaseLiteSwift",
                 url: "https://github.com/couchbase/couchbase-lite-ios.git", 
                 from: "2.8.0"),
    ],
Enterprise Edition
dependencies: [
        .package(name: "CouchbaseLiteSwift",
                 url: "https://github.com/couchbase/couchbase-lite-swift-ee.git", 
                 from: "2.8.0"),
    ],

More detailed information on how to setup is available here: swift package manager

CocoaPods

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

Objective-C

Community Edition
target '<your target name>' do
  use_frameworks!
  pod 'CouchbaseLite'
end
Enterprise Edition
target '<your target name>' do
  use_frameworks!
  pod 'CouchbaseLite-Enterprise'
end

Swift

Community Edition
target '<your target name>' do
  use_frameworks!
  pod 'CouchbaseLite-Swift'
end
Enterprise Edition
target '<your target name>' do
  use_frameworks!
  pod 'CouchbaseLite-Swift-Enterprise'
end

Carthage

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

Community Edition
binary "https://packages.couchbase.com/releases/couchbase-lite-ios/carthage/CouchbaseLite-Community.json"
Enterprise Edition
binary "https://packages.couchbase.com/releases/couchbase-lite-ios/carthage/CouchbaseLite-Enterprise.json"

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

How to build the framework files.

  1. Clone the repo and update submodules
$ git clone https://github.com/couchbase/couchbase-lite-ios.git
$ cd couchbase-lite-ios
$ git submodule update --init --recursive
  1. If not already installed, install doxygen, brew install doxygen

  2. Run ./Scripts/build_framework.sh to build a platform framework which could be either an Objective-C or a Swift framework. The supported platforms include iOS, tvOS, and macOS.

$ ./Scripts/build_framework.sh -s "CBL ObjC" -p iOS -o output    // For building the ObjC framework for iOS
$ ./Scripts/build_framework.sh -s "CBL Swift" -p iOS -o output   // For building the Swift framework for iOS

Documentation

Sample Apps

  • Todo : Objective-C and Swift

License

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

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].