Move heightStrategy invalidate method

This commit is contained in:
Alexander Desyatov 2016-10-07 16:00:52 +03:00
parent e9be0e8996
commit ac051c1a3f
1 changed files with 1 additions and 2 deletions

View File

@ -64,7 +64,6 @@ public class TableDirector: NSObject, UITableViewDataSource, UITableViewDelegate
}
public func reload() {
heightStrategy?.invalidate()
tableView?.reloadData()
}
@ -255,7 +254,7 @@ public class TableDirector: NSObject, UITableViewDataSource, UITableViewDelegate
}
public func clear() -> Self {
heightStrategy?.invalidate()
sections.removeAll()
return self
}