Card View Drag/Drop with Pan Gesture
Tinder Firestore Swipe and Match
With the basics of our User Interface built out, let's move onto the most important aspect of our application: Swipe-able Cards. We'll build this out step by step starting with a container that will simply hold a UIImageView component. We'll wrap up by introducing a UIPanGestureRecognizer that lets us drag our images around.

Comments (10)
Share App
4 years ago
awesome
tatters
4 years ago
Great work Brian!
ravikanth.marri@gmail.com
4 years ago
Thanks Brian , Great stuff and easy to follow.
mitchkoh
4 years ago
thank you boss!
Tube
4 years ago
On my own, I never would've found the blue corners.
Rifat Ara Shams
4 years ago
Hi Brian, is it possible to test pan gesture in a simulator?
Brian Voong
4 years ago
Rifat Ara Shams
4 years ago
Sorry, was my mistake. I was mistakenly creating GestureRecognizer Object not pandGestureRecognizer. Thank you for your prompt response. Cool stuff, really enjoying.
Cinquain
4 years ago
This video was so damn good!
Dmytro.Ryshchuk
4 years ago
Hi Brian, can you tell me why when I try to move CardView it is freezing? Only when I stop moving my mouse CardView appeared at the place where my mouse is. In your video, it's so smoothly, but in my case, it's not. I even downloaded the project and try to change CardView and ViewController on yours, but it didn't help me.
Brian Voong
4 years ago
Dmytro.Ryshchuk
4 years ago
Wow! It really helps with iPhone XS Max. It's funny because I work as an automation engineer on Tinder project. So, later on, I'll compare how it implemented in the real app and in this one. I like your way of teaching and I remember those days when your channel had less than 20k of subscribers. Thanks and well done)
Jack Mai
3 years ago
Hi, I've been running into problems with "Editor placeholder in sourcecode" Error. What should I do?
Jack Mai
3 years ago
Hey Brain, I was using image literal. But i keep getting the editor placement error, what should i do to fix it?
Brian Voong
3 years ago
Jack Mai
3 years ago
My image literal is empty like yours in the video, why am i still getting the error?
Brian Voong
3 years ago
Jack Mai
3 years ago
It shows up and everything. But when i didn't fill image literal with some image, it is showing editor placement in source file. Should i just fill in some random picture in the card class?
Jack Mai
3 years ago
Sorry, i got it now. Thank you so much Brain.
HELP & SUPPORT