Skip to content
SendBird iOS Sample UI in Objective-C and Swift
Branch: master
Clone or download
Latest commit b613276 Jun 19, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
basic update git configuration Jun 19, 2019
syncmanager update readme URL link Jun 12, 2019
.gitignore update git configuration Jun 19, 2019
.gitmodules Update .gitmodules Jun 18, 2019
LICENSE Create LICENSE Jan 18, 2019
README.md update readme URL link Jun 12, 2019

README.md

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

Swift Basic Sample

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    

Objective-C Basic Sample

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    

SyncManager Sample

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  

Legacy Basic Sample

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.

You can’t perform that action at this time.