// // ChangeTopicCell.m // smartRhino // // Created by niuzhen on 2019/12/25. // Copyright © 2019 tederen. All rights reserved. // #import "ChangeTopicCell.h" @implementation ChangeTopicCell - (void)awakeFromNib { [super awakeFromNib]; // Initialization code } - (void)setSelected:(BOOL)selected animated:(BOOL)animated { [super setSelected:selected animated:animated]; // Configure the view for the selected state } + (ChangeTopicCell *)configCell0:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath{ static NSString *cellIdentifer = @"ChangeTopicCell0"; ChangeTopicCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifer]; if (cell == nil || !cell) { cell = [[[NSBundle mainBundle] loadNibNamed:@"ChangeTopicCell" owner:nil options:nil] objectAtIndex:0]; } cell.selectionStyle = UITableViewCellSelectionStyleNone; return cell; } + (ChangeTopicCell *)configCell1:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath{ static NSString *cellIdentifer = @"ChangeTopicCell1"; ChangeTopicCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifer]; if (cell == nil || !cell) { cell = [[[NSBundle mainBundle] loadNibNamed:@"ChangeTopicCell" owner:nil options:nil] objectAtIndex:1]; } cell.selectionStyle = UITableViewCellSelectionStyleNone; return cell; } + (ChangeTopicCell *)configCell2:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath{ static NSString *cellIdentifer = @"ChangeTopicCell2"; ChangeTopicCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifer]; if (cell == nil || !cell) { cell = [[[NSBundle mainBundle] loadNibNamed:@"ChangeTopicCell" owner:nil options:nil] objectAtIndex:2]; } cell.selectionStyle = UITableViewCellSelectionStyleNone; return cell; } + (ChangeTopicCell *)configCell3:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath{ static NSString *cellIdentifer = @"ChangeTopicCell3"; ChangeTopicCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifer]; if (cell == nil || !cell) { cell = [[[NSBundle mainBundle] loadNibNamed:@"ChangeTopicCell" owner:nil options:nil] objectAtIndex:3]; } cell.selectionStyle = UITableViewCellSelectionStyleNone; return cell; } @end