CEWendel / SWTableViewCell

An easy-to-use UITableViewCell subclass that implements a swippable content view which exposes utility buttons (similar to iOS 7 Mail Application)
MIT License
7.13k stars 1.27k forks source link

Open side buttons only when didSelectRowAtIndexPath is called #389

Open Ravi61 opened 8 years ago

Ravi61 commented 8 years ago

Hi @CEWendel,

Is there a method to implement the following. I want to show right utility buttons only when user clicks on table cell but not on swipe gesture. Currently its displaying in both. Is there a way to restrict swipe gesture only. Right now if I use the func swipeableTableViewCell(cell: SWTableViewCell!, canSwipeToState state: SWCellState) -> Bool, then it disables both tap and swipe gesture.