Earlier this year I mentioned some example code of a swipe able 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.
- Open Source iOS Component For Creating Draggable Card Style Alert Views
- A UICollectionView Based Component For Creating Stacked Card Layouts Like Passbook And Reminders
- Tutorial: Creating An iPhone and iPad Card Game With Bluetooth and Wifi Multiplayer
- Open Source Component For Creating Table Cells With Swipe-To-Reveal Buttons With Several Transition Effects
- Open Source: Custom UITableViewCell Implementation For Easy Swipeable TableView Cells
Original article: Open Source iOS Component For Creating Swipeable Card Interfaces
©2014 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.