RAEditLabelCell.m 905 B

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748
  1. //
  2. // RAEditLabelCell.m
  3. // Apex And Drivers
  4. //
  5. // Created by Jack on 2018/6/4.
  6. // Copyright © 2018年 USAI. All rights reserved.
  7. //
  8. #import "RAEditLabelCell.h"
  9. #import "RAEditLabelModel.h"
  10. @interface RAEditLabelCell ()
  11. @property (strong, nonatomic) IBOutlet UILabel *titleLaebl;
  12. @property (strong, nonatomic) IBOutlet UILabel *valueLabel;
  13. @end
  14. @implementation RAEditLabelCell
  15. - (void)awakeFromNib {
  16. [super awakeFromNib];
  17. // Initialization code
  18. self.model = nil;
  19. }
  20. - (void)prepareForReuse {
  21. [super prepareForReuse];
  22. self.model = nil;
  23. }
  24. - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
  25. [super setSelected:selected animated:animated];
  26. // Configure the view for the selected state
  27. }
  28. - (void)setModel:(RAEditLabelModel *)model {
  29. _model = model;
  30. self.titleLaebl.text = _model.title;
  31. self.valueLabel.text = _model.value;
  32. }
  33. @end