Skip to content

Instantly share code, notes, and snippets.

@amosgyamfi
Last active April 14, 2022 17: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 amosgyamfi/78ecf1ae04ab0d02e50527947da9850f to your computer and use it in GitHub Desktop.
Save amosgyamfi/78ecf1ae04ab0d02e50527947da9850f to your computer and use it in GitHub Desktop.
import SwiftUI
// Add the following two imports
import StreamChat
import StreamChatSwiftUI
@main
struct SwiftUIChatDemoApp: App {
// This is the property with a wrapper we need to add.
@UIApplicationDelegateAdaptor(AppDelegate.self) var appDelegate
var body: some Scene {
WindowGroup {
//ChatChannelListView()
ChatChannelListScreen(title: "Contacts List")
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment