Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
// ios/TheStream/StreamChannelsView.swift:33
struct StreamChannelsView: UIViewControllerRepresentable {
var channelsPresenter: ChannelsPresenter
func makeUIViewController(context: UIViewControllerRepresentableContext<StreamChannelsView>) -> ChannelsViewController {
let vc = ChannelsViewController()
vc.presenter = channelsPresenter
return vc
func updateUIViewController(_ uiViewController: ChannelsViewController, context: UIViewControllerRepresentableContext<StreamChannelsView>) {
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.