Remove obsolete code.

This commit is contained in:
Maurice Parker
2019-11-22 15:23:21 -06:00
parent e22c383136
commit dd7431d5cb
4 changed files with 4 additions and 17 deletions

View File

@@ -640,11 +640,13 @@ private extension MasterFeedViewController {
}
func makeDataSource() -> UITableViewDiffableDataSource<Node, Node> {
return MasterFeedDataSource(coordinator: coordinator, tableView: tableView, cellProvider: { [weak self] tableView, indexPath, node in
let dataSource = MasterFeedDataSource(tableView: tableView, cellProvider: { [weak self] tableView, indexPath, node in
let cell = tableView.dequeueReusableCell(withIdentifier: "Cell", for: indexPath) as! MasterFeedTableViewCell
self?.configure(cell, node)
return cell
})
dataSource.defaultRowAnimation = .middle
return dataSource
}
func resetEstimatedRowHeight() {