Quick Start

LAST EDIT Nov 16 2021
These docs are deprecated and will be removed from the site in the near future. Refer to the most up to date version of the iOS UI Component SDK,

Client Setup

Copied!

Setup Client and Stream user in your AppDelegate:

ℹ️ You can find more info about Client setup here.

ℹ️ You can find more info about User setup here.

Channels

Copied!

You can use ChannelsViewController with Storyboards or in code.

1. Using a Storyboard

Copied!

Create a subclass of ChatChannelListVC and change your ViewController custom class in your Storyboard to it. Wrap your view controller with UINavigationController for easier navigation to a screen with messages of a selected channel. Don't forget to set the controller before ChatChannelListVC runs its viewDidLoad. See below.

2. Using code

Copied!

Messages

Copied!

You can use ChatChannelVC with Storyboards or in code.

1. Using a Storyboard

Copied!

Create a subclass of ChatChannelVC and change your ViewController custom class in your Storyboard to it.

For example, here is the setup of a ChatChannelVC from the root view controller of the window app.

2. Using code

Copied!