MortimerGoro / MGSwipeTableCell

An easy to use UITableViewCell subclass that allows to display swippable buttons with a variety of transitions.
MIT License
6.96k stars 1.07k forks source link

Cell's content disappear when using showSwipe() #300

Open nico75005 opened 7 years ago

nico75005 commented 7 years ago

I want to show the swipe button on some of my table view cell.

To do that, in the data source method

func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell

I add this

cell.showSwipe(.leftToRight, animated: false)

The left swipe buttons are showing but the content of the cell just disappear. It reappears once I swipe to the left. If I use animated: true then it works properly (but I don't want any animation in my case).

Any idea? Bug?

Thanks

JokerYuan commented 5 years ago

I Cell's content disappear too. when I swipeToLeft and reloadData at the same time