Login required for access
In order to watch this lesson, you'll need to login to the website.
Advertiser Model Protocol Oriented Programming
Tinder Firestore Swipe and Match
In the previous lesson, we were able to introduce the concept of View Models to display information inside of our cards. Now that we have that bit of plumbing implemented, let's now introduce another model object in our application that we would like to show inside of a card: Advertiser. This advertiser model will have its own unique properties, sharing very little similarities with a User model object. Utilizing the middle layer of CardViewModel we can quickly implement a different card by applying a toCardViewModel function on advertiser.

Comments (8)
4 years ago
4 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
5 years ago
HELP & SUPPORT