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