This commit is contained in:
Max Sokolov 2016-10-15 12:06:48 +03:00
parent db6dc40fac
commit b449e05edc
1 changed files with 2 additions and 0 deletions

View File

@ -36,6 +36,8 @@ open class TableDirector: NSObject, UITableViewDataSource, UITableViewDelegate {
didSet {
if shouldUsePrototypeCellHeightCalculation {
rowHeightCalculator = TablePrototypeCellHeightCalculator(tableView: tableView)
} else {
rowHeightCalculator = nil
}
}
}