iOS macOS tableViewcell判断是否为第一行或最后一行

// 判断是否为第一行或最后一行
        NSInteger firstRow = 0;
        NSInteger lastRow = [tableView numberOfRowsInSection:indexPath.section] - 1;

 

posted on 2024-03-28 19:23  高彰  阅读(8)  评论(0编辑  收藏  举报

导航