+(instancetype)cellWithTableView:(UITableView )tableView identifier:(NSString )identifier{\
Class *cell = [tableView dequeueReusableCellWithIdentifier:identifier];\
if(!cell) cell = [[Class alloc]initWithStyle:UITableViewCellStyleDefault reuseIdentifier:identifier];\
cell.selectionStyle = UITableViewCellSelectionStyleNone;\
cell.separatorInset = UIEdgeInsetsMake(0, 0, 0, 0);\
return cell;\
}\
难点在于如何处理类的传入
千万里不及你
相关分类