superboonie / SendBird-iOS

A guide of the installation and functions of Sendbird Chat, UIKit, and SyncManager for iOS in Objective-C samples.

Home Page:https://sendbird.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Sendbird UIKit samples for iOS have moved to a new repository starting in April 1, 2021. Check it out here. The UIKit samples in this repository will be deprecated in July 1, 2021.

Sendbird iOS samples

Platform Languages

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.

  • UIKit Swift sample is a user interface development kit that allows easy and fast integration of core chat features for new or pre-existing client apps. UI components can be fully customized with ease to expedite the roll-out of your client app’s in-app chat service. This sample is written in Swift with Sendbird UIKit and Sendbird Chat SDK. Find more about Sendbird UIKit on Sendbird UIKit document.

  • 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 git@github.com: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 git@github.com: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    

UIKit 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 UIKit Swift sample repository. Or you can pull it using submodule command after this git repository.

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

// Clone only UIKit swift sample
git submodule update --init ./uikit/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    

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 git@github.com: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    

About

A guide of the installation and functions of Sendbird Chat, UIKit, and SyncManager for iOS in Objective-C samples.

https://sendbird.com

License:MIT License