Featured iPhone Development Resources iOS Development Libraries Objective-C Open Source iOS Libraries And Tools

Open Source Library And Component For Easily Adding Swipe To Choose Functionality To A View

I’ve mentioned a number of components that make good use of the swipe gesture – usually for implementing the swipe to reveal pattern with tableview cells like with SWTableViewCell.

Here’s an open source library called MDCSwipeToChoose that provides a category allowing you to easily add swipe gesture callbacks to a UIView and also provides a component using this behavior to create a swipe to like or dislike interface like the Tinder app.

With the library you can easily decide what behavior to execute based on the direction of swipes, and you can easily customize the text color and images.

Here’s an image showing MDCSwipeToChoose in action:

You can find MDCSwipeToChoose on Github here.

A nice easy library for creating a swiped based interface.