123456789101112131415161718192021222324252627282930313233343536373839404142 |
- //
- // MyTDTopicSelectExtentCell.m
- // smartRhino
- //
- // Created by niuzhen on 2019/12/20.
- // Copyright © 2019 tederen. All rights reserved.
- //
- #import "MyTDTopicSelectExtentCell.h"
- @implementation MyTDTopicSelectExtentCell
- - (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
- }
- + (MyTDTopicSelectExtentCell *)configCell0:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath{
- static NSString *cellIdentifer = @"MyTDTopicSelectExtentCell0";
- MyTDTopicSelectExtentCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifer];
- if (cell == nil || !cell) {
- cell = [[[NSBundle mainBundle] loadNibNamed:@"MyTDTopicSelectExtentCell" owner:nil options:nil] objectAtIndex:0];
- }
- cell.selectionStyle = UITableViewCellSelectionStyleNone;
- return cell;
- }
- + (MyTDTopicSelectExtentCell *)configCell1:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath{
- static NSString *cellIdentifer = @"MyTDTopicSelectExtentCell1";
- MyTDTopicSelectExtentCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifer];
- if (cell == nil || !cell) {
- cell = [[[NSBundle mainBundle] loadNibNamed:@"MyTDTopicSelectExtentCell" owner:nil options:nil] objectAtIndex:1];
- }
- cell.selectionStyle = UITableViewCellSelectionStyleNone;
- return cell;
- }
- @end
|