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.14k stars 1.27k forks source link

Does not show all the buttons #391

Closed bkcan closed 2 years ago

bkcan commented 8 years ago

It doesn't matter which side the buttons are, but when I swipe it does not show all the buttons. The cell will move to where it's suppose to stop but then bounce back halfway. I'm trying to display three buttons but it will only show 1 and a half.

Also when the last button is pressed, when swiping again the cell goes to the CORRECT spot which is the end of the first button.

Does anyone know how to solve this problem?

LeandroGitHung commented 7 years ago

put a CGD... at this line... dispatch_async(dispatch_get_main_queue(), ^{

    cell.leftUtilityButtons = [self leftButtons];

});