KolodaView is a class designed to simplify the implementation of Tinder-like cards on iOS. It adds convenient functionality such as a UITableView-style dataSource/delegate interface for loading views dynamically, and efficient view loading, unloading. KolodaView is subclassed from UIView and - as with all UIKit components, it should only be accessed from the main thread. You may wish to use threads for loading or updating KolodaView contents or items, but always ensure that once your content has loaded, you switch back to the main thread before updating the KolodaView. To install manually the KolodaView class in an app, just drag the KolodaView, DraggableCardView, OverlayView class files (demo files and assets are not needed) into your project. Also you need to install facebook-pop. Or add bridging header if you are using CocoaPods.
Features
- The KolodaView follows the Apple convention for data-driven views
- Return a view for card overlay at the specified index
- Return a view to be displayed at the specified index in the KolodaView
- Allow management of the swipe animation duration
- KolodaView is subclassed from UIView
- KolodaView requires ARC