tableView   cell 复用 第一种
更新:HHH   时间:2023-1-7




 第一种方法
    static NSString * iden = @"dd";
    TableViewCell * cell = [tableView dequeueReusableCellWithIdentifier:iden];
    if (!cell) {
        cell = [[TableViewCell alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:iden];
     }


return cell ;

返回开发技术教程...