RAOptionCell.m 698 B

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