PayAlertCell.m 881 B

123456789101112131415161718192021222324252627282930313233343536
  1. //
  2. // PayAlertCell.m
  3. // smartRhino
  4. //
  5. // Created by niuzhen on 2020/4/30.
  6. // Copyright © 2020 tederen. All rights reserved.
  7. //
  8. #import "PayAlertCell.h"
  9. @implementation PayAlertCell
  10. - (void)awakeFromNib {
  11. [super awakeFromNib];
  12. // Initialization code
  13. }
  14. + (CGFloat)configCellHeight{
  15. return 70;
  16. }
  17. + (PayAlertCell *)configCell:(UITableView *)tableView indexPath:(NSIndexPath *)indexPath{
  18. static NSString *cellIdentifer = @"PayAlertCell";
  19. PayAlertCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifer];
  20. if (cell == nil || !cell) {
  21. cell = [[[NSBundle mainBundle] loadNibNamed:@"PayAlertCell" owner:nil options:nil] objectAtIndex:0];
  22. }
  23. return cell;
  24. }
  25. - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
  26. [super setSelected:selected animated:animated];
  27. // Configure the view for the selected state
  28. }
  29. @end