ChatSearchFindbyFuJCell.m 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //
  2. // ChatSearchFindbyFuJCell.m
  3. // smartRhino
  4. //
  5. // Created by armin on 2019/11/8.
  6. // Copyright © 2019 tederen. All rights reserved.
  7. //
  8. #import "ChatSearchFindbyFuJCell.h"
  9. @implementation ChatSearchFindbyFuJCell
  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. + (CGFloat)configCell0Height{
  19. return 144;
  20. }
  21. + (ChatSearchFindbyFuJCell *)configCell0:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath{
  22. static NSString *cellIdentifer = @"ChatSearchFindbyFuJCell0";
  23. ChatSearchFindbyFuJCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifer];
  24. if (cell == nil) {
  25. cell = [[[NSBundle mainBundle] loadNibNamed:@"ChatSearchFindbyFuJCell" owner:nil options:nil] objectAtIndex:0];
  26. }
  27. cell.selectionStyle = UITableViewCellSelectionStyleNone;
  28. cell.cell0ContentBgView.layer.masksToBounds = YES;
  29. cell.cell0ContentBgView.layer.cornerRadius = 4.0;
  30. return cell;
  31. }
  32. @end