1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071 |
- //
- // TDGroupInfoDetailCell.m
- // smartRhino
- //
- // Created by niuzhen on 2019/12/13.
- // Copyright © 2019 tederen. All rights reserved.
- //
- #import "TDGroupInfoDetailCell.h"
- @implementation TDGroupInfoDetailCell
- - (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
- }
- + (TDGroupInfoDetailCell *)configCell0:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath{
- static NSString *cellIdentifer = @"TDGroupInfoDetailCell0";
- TDGroupInfoDetailCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifer];
- if (cell == nil) {
- cell = [[[NSBundle mainBundle] loadNibNamed:@"TDGroupInfoDetailCell" owner:nil options:nil] objectAtIndex:0];
- }
- cell.selectionStyle = UITableViewCellSelectionStyleNone;
- return cell;
- }
- + (TDGroupInfoDetailCell *)configCell1:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath{
- static NSString *cellIdentifer = @"TDGroupInfoDetailCell1";
- TDGroupInfoDetailCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifer];
- if (cell == nil) {
- cell = [[[NSBundle mainBundle] loadNibNamed:@"TDGroupInfoDetailCell" owner:nil options:nil] objectAtIndex:1];
- }
- cell.selectionStyle = UITableViewCellSelectionStyleNone;
- return cell;
- }
- + (TDGroupInfoDetailCell *)configCell2:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath{
- static NSString *cellIdentifer = @"TDGroupInfoDetailCell2";
- TDGroupInfoDetailCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifer];
- if (cell == nil) {
- cell = [[[NSBundle mainBundle] loadNibNamed:@"TDGroupInfoDetailCell" owner:nil options:nil] objectAtIndex:2];
- }
- cell.selectionStyle = UITableViewCellSelectionStyleNone;
- return cell;
- }
- + (TDGroupInfoDetailCell *)configCell3:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath{
- static NSString *cellIdentifer = @"TDGroupInfoDetailCell3";
- TDGroupInfoDetailCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifer];
- if (cell == nil) {
- cell = [[[NSBundle mainBundle] loadNibNamed:@"TDGroupInfoDetailCell" owner:nil options:nil] objectAtIndex:3];
- }
- cell.selectionStyle = UITableViewCellSelectionStyleNone;
-
- return cell;
- }
- + (TDGroupInfoDetailCell *)configCell4:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath{
- static NSString *cellIdentifer = @"TDGroupInfoDetailCell4";
- TDGroupInfoDetailCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifer];
- if (cell == nil) {
- cell = [[[NSBundle mainBundle] loadNibNamed:@"TDGroupInfoDetailCell" owner:nil options:nil] objectAtIndex:4];
- }
- cell.selectionStyle = UITableViewCellSelectionStyleNone;
- return cell;
- }
- @end
|