Chat Log User Interface
Tinder Firestore Swipe and Match
Let's work on building out the chat log controller UI that shows the messages for each user. I'll go through this relatively quickly as I don't want to spend too much time on UI. Please let me know if you find the LBTATools methods convenient or hard to learn. Enjoy.

Comments (5)
Dongjun Kim
4 years ago
I really expected this chapter!!! I love it Thanks Brian :)
Dennisvm82
4 years ago
The dependency injection makes everything so much easier to control. Thank you so much for the excellent explanation and hands-on experience.
David Guarino
3 years ago
Hey Brian , when passing the data from one controller in the "didSelectItem" func at the 21- 23min mark ....Using the new Preview Provider what argument would you pass in UIViewControllerRepresentable func when returning the ViewController? ... P.S the canvas on the side is world's better than running the simulator each time!
antoinenei
3 years ago
For those who have a default "< Settings" navigation controller for the ChatLogController, add in the viewDidLoad(): self.navigationController?.isNavigationBarHidden = true
antoinenei
3 years ago
So turns out that this solution removes the navbar on the settings page when you go back. A quick fix is to reactivate it, in the SettingsController add: override func viewDidAppear(_ animated: Bool) { self.navigationController?.isNavigationBarHidden = false }
antoinenei
3 years ago
Just realized that I'm implementing the chat off of the settings page for feedback purposes. This therefore won't apply to most of you
majdjamaleddine@gmail.com
3 years ago
Hi Brian, when do you opt for custom initializer for passing values among classes over the other method such as the standard call method 'messagesNavBar.match' = items[indexPath.item]. Note: you have passed 'match' values to 'messagesNavBar' through custom initializers: ChatLogController(match: match) then MessagesNavBar(match: match). Just wanted to understand the best practice in these cases. Thanks a bunch!
HELP & SUPPORT