In these bonus lessons, let's walk through how to setup a simple messaging system for the matched users in our Firestore database. Before I set up the data structure for how to store our objects in the database, I almost always prefer to build out the screens first. I do this for a couple of reasons, but mostly its to make sure I can wrap my head around what relationships are need among each entity. To make this process faster, and also because I'm confident most of you guys already know how to build a list, I'll be utilizing LBTATools to speed this up.

Comments (14)
Dennisvm82
4 years ago
Your stacking extension is one of the best things ever :-) excellent job!
Brian Voong
4 years ago
jtcreed@outlook.com
4 years ago
This is amazing Brian! Excellent job!
antonskwr
4 years ago
Excited to dive into the new bonus section. Thanks Brian, great job!
romulusc
4 years ago
Great job indeed Brian with bonus and LBTATools. But something not working for me, because i'm getting error "Extra argument 'distribution' in call" when navBar.hstack(messagesLabel, feedLabel, distribution: .fillEqually). checked the hstack code, i can't see "distribution" in there either... @discardableResult open func hstack(_ views: UIView..., spacing: CGFloat = 0, alignment: UIStackView.Alignment = .fill) -> UIStackView { return _stack(.horizontal, views: views, spacing: spacing, alignment: alignment) } what am i doing wrong?
romulusc
4 years ago
FIXED: i should have known...a pod update to the latest version of LBTATools fixed it for me
Shaq Noir
4 years ago
Hi Brian, thanks for the lessons Using LBTATools, how can I change the background colour of the collectionView ? Would usually do this using cellForItemAt indexPath
Brian Voong
4 years ago
Javier Valdez
4 years ago
Hi Brian, there is not LBTATools at CocoaPods
Lucrecio909
4 years ago
Im getting this when trying to build: error: SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2. (in target 'LBTATools')
Brian Voong
4 years ago
Lucrecio909
4 years ago
Got it working, here is the link that helped me: https://stackoverflow.com/questions/55366024/how-to-fix-swift-version-3-0-is-unsupported-supported-versions-are-4-0-4-2
Cinquain
4 years ago
Brian was lit in this video
paul.huynh3@gmail.com
4 years ago
damnn excited to do this!
antoinenei
3 years ago
Hi Brian, thanks a lot for the great course! I've been merging this course with another project I did using the storyboard. Until now I haven't had any problems, however the navigationController doesn't seem to be responding in the HomeViewController. I implemented your solution with the AppDelegate but that didn't help. I also tried removing the default NavigationController and the rootViewController in the storyboard but that made it worse - I couldn't even see the HomeViewController after launch. My AppDelegate is identical to yours. I'm very confused as how to proceed. Any ideas or tips?
antoinenei
3 years ago
Just wanted to add extra detail to my problem, the navigationController is nil in the handleMessageButton of the HomeViewController.
Rizul Sharma
3 years ago
Hi Brian, the course is really awesome so far, is there any course or tutorial where i can learn about search bar implementation..?
Brian Voong
3 years ago
Rizul Sharma
3 years ago
Thanks a lot man.!! Stay safe, stay healthy.!
majdjamaleddine@gmail.com
3 years ago
Hi Brian, I was getting this error when trying to build: SWIFT_VERSION '5.0' is unsupported, supported versions are: 3.0, 4.0, 4.2. (in target 'LBTATools'), so I updated my Xcode 10.1 to the latest 11.5. I ran a 'pod update' and now I have this error: Building for iOS Simulator, but the linked framework 'Pods_MatchTinderApp.framework' was built for iOS. Can you please help. Thanks.
Brian Voong
3 years ago
majdjamaleddine@gmail.com
3 years ago
Can you please elaborate more (links to refer to). Thanks.
Brian Voong
3 years ago
antoinenei
2 years ago
Hi Brian, I'm trying to find a good resource to develop this view controller with the feed page. Do you have a course which goes over the main UI points in doing that? Also more specifically, do you know where I can learn how to transition between the message and feed views within the same view controller?
antoinenei
2 years ago
By the way, I am soo excited for this new travel app course. Looks lit! I saw that you will go over what I'm looking for but it might take you a few months to get there. In the meantime I'm thinking the Instagram course could provide a temporary answer to what I'm trying to do. Keep up the good work man, I'm a huge fan. Thank you for doing this
antoinenei
2 years ago
Hi Brian, is there a trivial way of presenting another view controller when the user presses the "Feed" tab? I am trying to add a feed similar to your feed in your Instagram course and having trouble doing so. Do you have any ideas?
Brian Voong
2 years ago
antoinenei
2 years ago
So I have a delegate which keeps track of what tab is selected by the user. Can I invoke and hide the different views from the MatchesMessagesController (which is derived from the LBTAListHeaderController)?
Brian Voong
2 years ago
antoinenei
2 years ago
You are a life saver. Thank you
HELP & SUPPORT