Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Inserting and removing PrettyTableViewCell rounded corners not being redrawn #31

Open
justjimmy opened this issue Sep 12, 2012 · 1 comment

Comments

@justjimmy
Copy link

So if you start with 1 row and insert a new row in a grouped table, the first row will have rounded corners on top, but the now second row still has the 4 rounded corners.

Similar issue when you delete the first row of a grouped table.

To fix, I guess I could reload the affected rows (in my tableviewcontroller) every time an insert/delete is done... but I wonder if there's a way PrettyTableViewCell can handle it automatically?

@Amnell
Copy link

Amnell commented Sep 12, 2012

I don't think there is any sane way of making the cells do this automatically. Just call prepareForTableView:indexPath: on the affected cells in the corresponding UITableViewDelegate methods to redraw their backgrounds.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants