Skip to content

Instantly share code, notes, and snippets.

@cardoso
Created May 25, 2020 23:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save cardoso/dd6d16e39eae24812799cfd34983f741 to your computer and use it in GitHub Desktop.
Save cardoso/dd6d16e39eae24812799cfd34983f741 to your computer and use it in GitHub Desktop.
import StreamChatClient
import StreamChatCore
extension WatchViewController {
func setupChat() {
let channel = Client.shared.channel(type: .livestream, id: channelName)
chatViewController.presenter = ChannelPresenter(channel: channel)
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment