MortimerGoro / MGSwipeTableCell

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

Set and restore the flipped geometry flag #326

Open TomCarey opened 5 years ago

TomCarey commented 5 years ago

On a table with flipped geometry (where row zero is the bottom of the table) each of the cells usually also have flipped geometry to ensure the UI renders correctly. The imageFromView wasn't taking this into account so I've cached the geometryFlipped value on the cell so that we can render the image with the natural geometry.