+ (instancetype)cellWithTableView:(UITableView *)tableView
{
static NSString *ID = @"Cell";
Cell *cell = [tableView dequeueReusableCellWithIdentifier:ID];
if (cell == nil) {
cell = [[Cell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:ID];
}
return cell;
}
原文:http://www.cnblogs.com/OneBlackLee/p/3946299.html