[ [ tableView visibleCells ] count ]
仅仅是UITableView上可以看到的cell
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath
绘制的也仅仅是能看到的cell
本文介绍UITableView中可见单元格(cell)的计数方法及如何仅针对这些可见单元格进行绘制,有助于提高应用性能。
[ [ tableView visibleCells ] count ]
仅仅是UITableView上可以看到的cell
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath

被折叠的 条评论
为什么被折叠?