/SendBird-iOS

SendBird iOS Sample UI in Objective-C and Swift

Primary LanguageHTMLMIT LicenseMIT

SendBird iOS Sample

Platform Languages

Introduction

SendBird provides the chat API and SDK for your app enabling real-time communication among your users. These samples introduce various applications based on SendBird SDK. Refer to the following applications.

  • Swift Basic Sample: The project is a sample application composed of common chat features. You can make various channels(group channel, open channel) and send(or receive) messages in the sample. This sample is written with swift and is based on SendBird SDK.
  • Objective-C Basic Sample: The project is a sample application composed of common chat features. You can make various channels(group channel, open channel) and send(or receive) messages in the sample. This sample is written with objective-C and is based on SendBird SDK.
  • SyncManager Sample: The project is a sample application composed of common chat features, especially local cache. This sample saves SendBird data in the device database to allow caching and faster data loading. We provides the same project in two languages, swift and objective-C. And the sample is based on SendBird SyncManager SDK as well as SendBird SDK. You can learn more about syncmanager from SyncManager sample's ReadMe
  • Legacy Basic Sample: The legacy project is a sample application composed of common chat features. We recommend you to use upper new projects. We don't support this sample anymore.

Quick Start

This sample is linked with git submodule. You can clone the prject directly in the swift basic sample submodule repository. Or you can pull by submodule command after clone this git repository.

// clone this repository
git clone git@github.com:sendbird/SendBird-iOS.git  

// clone only swift basic sample
git submodule update --init ./basic/Swift

// Or you can clone all submodule's repositories
git submodule update --init --recursive    

This sample is linked with git submodule. You can clone the prject directly in the objective-c basic sample submodule repository. Or you can pull by submodule command after clone this git repository.

// clone this repository
git clone git@github.com:sendbird/SendBird-iOS.git  

// clone only swift basic sample
git submodule update --init ./basic/Objective-C

// Or you can clone all submodule's repositories
git submodule update --init --recursive    

You can use swift and objective-C projects in the syncmanager sample directory after clone the repository.

// clone this repository
git clone git@github.com:sendbird/SendBird-iOS.git  

You can use swift and objective-C projects in the legacy basic sample directory after clone the repository.

// clone this repository
git clone git@github.com:sendbird/SendBird-iOS.git  

Swift 2.3 support

  • Swift 2.3 -> swift-2.3-sample directory in v3-old branch

Access to Version 2

You can check out v2 branch instead of master branch to download version 2 samples.