How to Build a Chat App with SwiftUI: Part 2 (Channels)
Blog post from Stream
This tutorial focuses on enhancing a simple chat application for iOS and macOS, previously developed using SwiftUI and Stream Chat's Swift SDK, by adding functionalities for managing multiple channels. It guides users through updating the existing Chat View to accommodate various channels, creating a Channels View to list channels the user is part of, and implementing features for channel creation and search. The tutorial highlights using the low-level client to develop custom components with SwiftUI, despite Stream Chat offering UIKit components for such tasks. Key steps include modifying the login view to navigate to the Channels View, implementing a channel creation function that allows users to create channels and join them, and setting up a channel search feature that filters channels based on user input. The tutorial concludes by encouraging further exploration of SwiftUI and Stream Chat's documentation to refine and expand the chat application's capabilities.