call prepareForReuse on prototype cell

This commit is contained in:
Max Sokolov 2016-11-03 19:50:29 +03:00
parent 2b96888d12
commit d4fc924676
1 changed files with 1 additions and 0 deletions

View File

@ -50,6 +50,7 @@ open class TablePrototypeCellHeightCalculator: RowHeightCalculator {
guard let cell = prototypeCell else { return 0 }
cell.prepareForReuse()
row.configure(cell)
cell.bounds = CGRect(x: 0, y: 0, width: tableView.bounds.size.width, height: cell.bounds.height)