Earlier this year I mentioned some example code of a swipeable cards interface like that seen within the Tinder app.
Here’s an open source interface component called ZLSwipeableView from Zhixuan Lai that allows you to create interfaces with swipeable cards with some nice features.
ZLSwipeableView provides a nice animation when the user swipes and also when the user cancels a swipe. You can also control the swiping behaviour programatically for some nice effects.
There are convenient callbacks for when the user swipes right, swipes left, and you can gather the exact position on the card the user swiped from.
An example project is included. The cards themselves are completely customizable views.
Here’s an image showing ZLSwipeableView’s swiping animation in action:
You can find ZLSwipeableView on Github here.
A nice component for creating an interface using the card swiping pattern made popular by Tinder.
Submit A Resource
Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?
You can submit the url here.
The resources we feel will appeal to our readers the most will be posted on the front page.