-
-
Save cardoso/5b095e72e18e085c9ee2ad904208d6b9 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import StreamChat | |
import StreamChatClient | |
class ClassViewController: ChatViewController { | |
lazy var channel = Client.shared.channel( | |
type: .messaging, | |
id: "yoga_class_id", | |
extraData: ChannelExtraData(name: "Yoga Class", imageURL: nil) | |
) | |
let member = User(id: .random()) | |
let instructor = User( | |
id: "instructor", | |
extraData: UserExtraData( | |
name: "Instructor", | |
avatarURL: URL(string: "https://raw.githubusercontent.com/GetStream/live-fitness-app-ios/main/meta/instructor.png") | |
) | |
) | |
override func viewDidLoad() { | |
super.viewDidLoad() | |
setupViews() | |
setupHandlers() | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment