RASettingAboutCell.m 1.3 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849
  1. //
  2. // RASettingAboutCell.m
  3. // Apex And Drivers
  4. //
  5. // Created by Jack on 2018/9/13.
  6. // Copyright © 2018年 USAI. All rights reserved.
  7. //
  8. #import "RASettingAboutCell.h"
  9. #import "RASettingAboutModel.h"
  10. @interface RASettingAboutCell ()
  11. @property (nonatomic,strong) IBOutlet UIImageView *appIconView;
  12. @property (nonatomic,strong) IBOutlet UIImageView *redantLogoView;
  13. @property (nonatomic,strong) IBOutlet UILabel *appNameLabel;
  14. @property (nonatomic,strong) IBOutlet UILabel *appVerLabel;
  15. @property (nonatomic,strong) IBOutlet UILabel *copyrightLabel;
  16. @property (nonatomic,strong) IBOutlet UITextView *supportLabel;
  17. @end
  18. @implementation RASettingAboutCell
  19. - (void)awakeFromNib {
  20. [super awakeFromNib];
  21. // Initialization code
  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)refreshUI {
  29. RASettingAboutModel *aboutModel = (RASettingAboutModel *)self.model;
  30. self.appIconView.image = aboutModel.appIcon;
  31. self.redantLogoView.image = aboutModel.redantLogo;
  32. self.appNameLabel.text = aboutModel.appName;
  33. self.appVerLabel.text = aboutModel.appVer;
  34. // self.copyrightLabel.text = aboutModel.appCopyright;
  35. self.supportLabel.text = aboutModel.appSupport;
  36. }
  37. @end