An easy to use UITableViewCell subclass that allows to display swippable buttons
MGSwipeTableCell
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.
Transitions demo
Border transition
Clip transition
3D transition
Static transition
Drag transition
API Reference
See MGSwipeTableCell.h
header file for a complete overview of the capabilities of the class.
See MailAppDemo
for a complete project which mimics Apple's Mail App (written in Objective-C)
See MailAppDemoSwift
for a complete project which mimics Apple's Mail App (Written in Swift)
See SpotifyDemo
for a complete project which mimics Spotify App swipe style
See 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:
pod 'MGSwipeTableCell'
You can use Carthage to include MGSwipeTableCell into your project. Just add this dependency to your Cartfile:
github "MortimerGoro/MGSwipeTableCell"