alikaragoz / MCSwipeTableViewCell

:point_up_2: Convenient UITableViewCell subclass that implements a swippable content to trigger actions (similar to the Mailbox app).
MIT License
2.96k stars 411 forks source link

Added flag to prevent any bounces #86

Open stephanecopin opened 9 years ago

stephanecopin commented 9 years ago

This add a "bounces" flag to MCSwipeTableViewCell. This only change the behavior when only 2 of the 4 states are set, the user swipe in the right direction: when the flag is set to NO, swiping in the other direction won't allow the cell to bounce, and will stop at its position 0.