123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960 |
- //
- // 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
|