Make ExpandableCellHeightCalculator optional, not default
This commit is contained in:
parent
6ef5ad504e
commit
497b4e009c
|
|
@ -60,7 +60,7 @@ open class TableDirector: NSObject, UITableViewDataSource, UITableViewDelegate {
|
|||
self.cellRegisterer = TableCellRegisterer(tableView: tableView)
|
||||
}
|
||||
|
||||
self.rowHeightCalculator = cellHeightCalculator ?? ExpandableCellHeightCalculator(tableView: tableView)
|
||||
self.rowHeightCalculator = cellHeightCalculator
|
||||
self.scrollDelegate = scrollDelegate
|
||||
self.tableView = tableView
|
||||
self.tableView?.delegate = self
|
||||
|
|
|
|||
Loading…
Reference in New Issue