| 12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152 |
- //
- // RASettingAboutCell.m
- // Apex And Drivers
- //
- // Created by Jack on 2018/9/13.
- // Copyright © 2018年 USAI. All rights reserved.
- //
- #import "RASettingAboutCell.h"
- #import "RASettingAboutModel.h"
- @interface RASettingAboutCell ()
- @property (nonatomic,strong) IBOutlet UIImageView *appIconView;
- @property (nonatomic,strong) IBOutlet UIImageView *redantLogoView;
- @property (nonatomic,strong) IBOutlet UILabel *appNameLabel;
- @property (nonatomic,strong) IBOutlet UILabel *appVerLabel;
- @property (nonatomic,strong) IBOutlet UILabel *copyrightLabel;
- @property (nonatomic,strong) IBOutlet UITextView *supportLabel;
- @end
- @implementation RASettingAboutCell
- - (void)awakeFromNib {
- [super awakeFromNib];
- // Initialization code
-
- self.appIconView.layer.cornerRadius = 10.0f;
- self.appIconView.layer.masksToBounds = YES;
-
- self.model = nil;
- }
- - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
- [super setSelected:selected animated:animated];
- // Configure the view for the selected state
- }
- - (void)refreshUI {
-
- RASettingAboutModel *aboutModel = (RASettingAboutModel *)self.model;
- self.appIconView.image = aboutModel.appIcon;
- self.redantLogoView.image = aboutModel.redantLogo;
- self.appNameLabel.text = aboutModel.appName;
- self.appVerLabel.text = aboutModel.appVer;
- // self.copyrightLabel.text = aboutModel.appCopyright;
- self.supportLabel.text = aboutModel.appSupport;
- }
- @end
|