// // RASettingOptionCell.m // Apex And Drivers // // Created by Jack on 2018/9/12. // Copyright © 2018年 USAI. All rights reserved. // #import "RASettingOptionCell.h" #import "RASettingOptionModel.h" @interface RASettingOptionCell () @property (nonatomic,strong) IBOutlet UILabel *titleLabel; @property (nonatomic,strong) IBOutlet UILabel *optionLabel; @end @implementation RASettingOptionCell - (void)awakeFromNib { [super awakeFromNib]; // Initialization code } - (void)setSelected:(BOOL)selected animated:(BOOL)animated { [super setSelected:selected animated:animated]; // Configure the view for the selected state } - (void)refreshUI { RASettingOptionModel *model = (RASettingOptionModel *)self.model; NSString *title = model.title; NSString *option = model.option.title; self.titleLabel.text = title; self.optionLabel.text = option; } @end