Sendbird iOS SDK v3 samples
Deprecation Note (v3)
We recommend clients to plan their migration to SDK v4 as early as possible as there are breaking changes. We also provide prioritized support for migration and any issues related to v4. SDK v4 provides far richer and robust features in Websocket, Local caching, Polls, Scheduled Messages, Pinned Message, and many more. So try it out now! (Chat SDK v4 samples)
Introduction
Sendbird provides the chat API and SDK for your app, enabling real-time communication among the users. Here are various samples built using Sendbird Chat SDK.
-
Chat Swift sample has core chat features. Group channel and open channel are the two main channel types in which you can create various subtypes where users can send and receive messages. This sample is written in Swift with Sendbird Chat SDK.
-
Chat Objective-C sample has core chat features. Group channel and open channel are the two main channel types in which you can create various subtypes where users can send and receive messages. This sample is written in Objective-C with Sendbird Chat SDK.
-
SyncManager Swift sample is equipped with a local cache along with core chat features. For faster data loading and caching, the sample synchronizes with the Sendbird server and saves a list of group channels and the messages within the local cache into your client app. This sample is written in Swift with Sendbird SyncManager SDK and Sendbird Chat SDK. Find more about SyncManager on Sendbird SyncManager document.
Installation
Chat Swift sample
This sample is linked with the git submodule which you can download in two ways.
A. You can clone the project directly from the Chat Swift sample submodule repository.
// Clone this repository
git clone [email protected]:sendbird/SendBird-iOS.git
// Clone only Chat Swift sample
git submodule update --init ./basic/Swift
B. You can pull it by using the submodule command after cloning the git repository.
// Clone all submodule's repositories
git submodule update --init --recursive
Chat Objective-C sample
This sample is linked with the git submodule which you can download in two ways.
A. You can clone the prject directly from the Chat Objective-C sample repository.
// Clone this repository
git clone [email protected]:sendbird/SendBird-iOS.git
// Clone only Chat Objective-C sample
git submodule update --init ./basic/Objective-C
B. You can pull it by using the submodule command after cloning the git repository.
// Clone all submodule's repositories
git submodule update --init --recursive
SyncManager sample (Swift only)
This sample is linked with the git submodule which you can download in two ways.
A. You can clone the project directly from the SyncManager Swift sample repository.
// Clone this repository
git clone [email protected]:sendbird/SendBird-iOS.git
// Clone only SyncManager Swift sample
git submodule update --init ./syncmanager/SyncManager-Swift
B. You can pull it by using the submodule command after cloning the git repository.
// Clone all submodule's repositories
git submodule update --init --recursive