| 12345678910111213141516171819202122232425262728293031323334353637383940 |
- //
- // ExamListCell.m
- // MusicGradeExam
- //
- // Created by Kyle on 2020/7/22.
- // Copyright © 2020 DayaMusic. All rights reserved.
- //
- #import "ExamListCell.h"
- @interface ExamListCell ()
- @property (weak, nonatomic) IBOutlet UILabel *examName;
- @property (nonatomic, strong) BaseExamModel *sourceModel;
- @end
- @implementation ExamListCell
- - (void)awakeFromNib {
- [super awakeFromNib];
- // Initialization code
- self.selectionStyle = UITableViewCellSelectionStyleNone;
- }
- - (void)configCellWithSource:(BaseExamModel *)source {
- // 赋值
- self.sourceModel = source;
- self.examName.text = [NSString returnNoNullStringWithString:self.sourceModel.baseExamName];
- }
- - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
- [super setSelected:selected animated:animated];
- // Configure the view for the selected state
- }
- @end
|