TDGroupInfoDetailCell.m 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071
  1. //
  2. // TDGroupInfoDetailCell.m
  3. // smartRhino
  4. //
  5. // Created by niuzhen on 2019/12/13.
  6. // Copyright © 2019 tederen. All rights reserved.
  7. //
  8. #import "TDGroupInfoDetailCell.h"
  9. @implementation TDGroupInfoDetailCell
  10. - (void)awakeFromNib {
  11. [super awakeFromNib];
  12. // Initialization code
  13. }
  14. - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
  15. [super setSelected:selected animated:animated];
  16. // Configure the view for the selected state
  17. }
  18. + (TDGroupInfoDetailCell *)configCell0:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath{
  19. static NSString *cellIdentifer = @"TDGroupInfoDetailCell0";
  20. TDGroupInfoDetailCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifer];
  21. if (cell == nil) {
  22. cell = [[[NSBundle mainBundle] loadNibNamed:@"TDGroupInfoDetailCell" owner:nil options:nil] objectAtIndex:0];
  23. }
  24. cell.selectionStyle = UITableViewCellSelectionStyleNone;
  25. return cell;
  26. }
  27. + (TDGroupInfoDetailCell *)configCell1:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath{
  28. static NSString *cellIdentifer = @"TDGroupInfoDetailCell1";
  29. TDGroupInfoDetailCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifer];
  30. if (cell == nil) {
  31. cell = [[[NSBundle mainBundle] loadNibNamed:@"TDGroupInfoDetailCell" owner:nil options:nil] objectAtIndex:1];
  32. }
  33. cell.selectionStyle = UITableViewCellSelectionStyleNone;
  34. return cell;
  35. }
  36. + (TDGroupInfoDetailCell *)configCell2:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath{
  37. static NSString *cellIdentifer = @"TDGroupInfoDetailCell2";
  38. TDGroupInfoDetailCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifer];
  39. if (cell == nil) {
  40. cell = [[[NSBundle mainBundle] loadNibNamed:@"TDGroupInfoDetailCell" owner:nil options:nil] objectAtIndex:2];
  41. }
  42. cell.selectionStyle = UITableViewCellSelectionStyleNone;
  43. return cell;
  44. }
  45. + (TDGroupInfoDetailCell *)configCell3:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath{
  46. static NSString *cellIdentifer = @"TDGroupInfoDetailCell3";
  47. TDGroupInfoDetailCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifer];
  48. if (cell == nil) {
  49. cell = [[[NSBundle mainBundle] loadNibNamed:@"TDGroupInfoDetailCell" owner:nil options:nil] objectAtIndex:3];
  50. }
  51. cell.selectionStyle = UITableViewCellSelectionStyleNone;
  52. return cell;
  53. }
  54. + (TDGroupInfoDetailCell *)configCell4:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath{
  55. static NSString *cellIdentifer = @"TDGroupInfoDetailCell4";
  56. TDGroupInfoDetailCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifer];
  57. if (cell == nil) {
  58. cell = [[[NSBundle mainBundle] loadNibNamed:@"TDGroupInfoDetailCell" owner:nil options:nil] objectAtIndex:4];
  59. }
  60. cell.selectionStyle = UITableViewCellSelectionStyleNone;
  61. return cell;
  62. }
  63. @end