iOS Library: The Tinder Animation

I’ve been thinking of making an app using the Tinder-like animation. After searching around for a good open source library for this, I ended up disappointed – there were libraries, but they just weren’t that great.

Finally, a few days ago, a new library came out called MDCSwipeToChoose, which gets the animation just right!

tinder like animation

Notice how when you move a card, the bottom one moves up slightly. Now that’s some attention to detail!

The library is really easy to install – via Cocoapods, is very easy to use, and is very customizable. Maybe I will use it for my app!

The only thing I was wondering is whether there is a better way to do this animation using UICollectionView and playing with UIKitDynamics in an UICollectionFlowLayout subclass…

Enjoy the article? Join over 20,000+ Swift developers and enthusiasts who get my weekly updates.