+(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;\
}\
难点在于如何处理类的传入
斯蒂芬大帝
千万里不及你
随时随地看视频慕课网APP
相关分类