在我的所有UITableView编程中,我总是配置我UITableViewCells的 - [UITableViewDataSource tableView:cellForRowAtIndexPath:].现在我遇到了 - [UITableViewDelegate willDisplayCell:forRowAtIndexPath:]方法.这似乎也是进行单元配置的合适场所.
UITableView
UITableViewCells
[UITableViewDataSource tableView:cellForRowAtIndexPath:]
[UITableViewDelegate willDisplayCell:forRowAtIndexPath:]
我的问题是:这两种方法之间适当的"分工"是什么?我应该在一对一中做什么?
iphone uitableview
iphone ×1
uitableview ×1