MGSwipeTableCell provides highly customizable swipe actions for UITableViewCell, emphasizing animated transitions and “expansion” behaviors. You can attach multiple buttons per side, choose from transitions like drag, clip, or 3D-style reveals, and control thresholds for triggering an action on full swipe. The API separates visual configuration (colors, icons, button width) from behavior (callbacks, expansion settings) to keep code readable. It integrates cleanly with table view reuse, ensures state resets during scrolling, and offers convenience helpers for common patterns such as destructive actions. Gesture handling is tuned to avoid interference with vertical scrolling and to coordinate with other recognizers. For teams wanting polished, Mail-like or custom swipe UX beyond system defaults, MGSwipeTableCell is a flexible, production-tested option.
Features
- Swipeable left and right buttons with customizable transitions (e.g., border, clip, 3D, drag)
- Compatible with system-defined styles, custom cells, xibs, storyboards, and autolayout
- Supports iOS ≥ 5.0, tested across iOS 7 through iOS 14 on both iPhone and iPad
- Easy integration via CocoaPods, Carthage, or Swift Package Manager
- Uses MGSwipeButton convenience class or allows custom UIViews/UIButtons
- Supports both Objective-C and Swift usage, with block-based callbacks for button actions