-(UITableViewCell *) tableView:(UITableView *) tableView cellForRowAtIndexPath:(NSIndexPath *) indexPath{]; indexPath是一个结构体,section和row可以理解为indexPath的属性,indexPath.section:代表单元格(cell)的第几个分区,indexPath.row代表分区的第几行。
IndexPath的理解
最新推荐文章于 2018-09-04 10:44:20 发布