Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// ios/TheStream/PrivateChatView.swift:30
struct StreamChatView: UIViewControllerRepresentable {
var channelPresenter: ChannelPresenter
func makeUIViewController(context: UIViewControllerRepresentableContext<StreamChatView>) -> ChatViewController {
let vc = ChatViewController()
vc.presenter = channelPresenter
return vc
func updateUIViewController(_ uiViewController: ChatViewController, context: UIViewControllerRepresentableContext<StreamChatView>) {
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.