MGSwipeTableCell is an easy to use UITableViewCell subclass that allows to display swipeable buttons with a variety of transitions.
This library is compatible with all the different ways to create a UITableViewCell: system predefined styles, programmatically created cells, cells loaded from a xib and prototype cells within a storyboard. You can use autolayout if you want.
Works on iOS >= 5.0. Tested on all iOS versions on iPhone and iPad: iOS 7, iOS 8, iOS 9, iOS 10, iOS 11.
MGSwipeTableCell.h header file for a complete overview of the capabilities of the class.
MailAppDemo for a complete project which mimics Apple's Mail App (written in Objective-C)
MailAppDemoSwift for a complete project which mimics Apple's Mail App (Written in Swift)
SpotifyDemo for a complete project which mimics Spotify App swipe style
MGSwipeDemo for a complete project where you can test the variety of transitions on a real device/simulator.
Setup your project
You can use CocoaPods to include MGSwipeTableCell into you project:
You can use Carthage to include MGSwipeTableCell into your project. Just add this dependency to your Cartfile:
Subscribe to iOS Example
Get the latest posts delivered right to your inbox