A newer version of this documentation is available.

View Latest

Samples

Travel Sample

This application synchronizes documents with Sync Gateway 1.5 and Couchbase Server 5.0. Shared bucket access is enabled to allow web and mobile clients to perform the same operations on the bucket.

ToDo Sample

ToDo List application built with Couchbase Lite 2.0. Users can authenticate, create lists with tasks. Each task can have optional blob attached to it. Lists can be shared with multiple users.

Swift Playground

This Xcode playground demonstrates many features of the Couchbase Lite 2.0 API. And with the features of Xcode playgrounds, you can run the code sequentially and see results instantly within Xcode.

User Profile Sample: Fundamentals

This tutorial will walk you through a very basic example of how you can use Couchbase Lite 2.0 as a standalone, embedded data store within your iOS App. You will learn the fundamentals of Database Operations and Document CRUD Operations.

User Profile Sample: Prebuilt Database & Query Introduction

This tutorial will walk you through a simple app that will demonstrate how to use a pre-built Couchbase Lite database . In addition, we will look at a sample Query using the new Query API to retrieve records from the local database.

User Profile Sample: Data Sync Fundamentals

This tutorial will introduce you to data sync/replication across Couchbase Lite apps using the Sync Gateway. We will walk through Sync Gateway configuration and the core Sync Function API.

University Lister – Using Couchbase Lite with Recycler Views

This tutorial will walk you through a simple example of how you can use Couchbase Lite 2.0 as a standalone, embedded data store within your Android App. Specifically, you will learn the basics of Database CRUD and Query API and specifically how to use Couchbase Lite as a data source for your Recycler Views.