123456789101112131415161718192021222324252627282930313233 |
- //
- // HWFolderListCell.m
- // Private-X
- //
- // Created by 余衡武 on 2022/3/23.
- //
- #import "HWFolderListCell.h"
- @implementation HWFolderListCell
- - (void)awakeFromNib {
- [super awakeFromNib];
- // Initialization code
- }
- - (void)setModel:(HWFolderModel *)model {
-
- _model = model;
-
- self.nameLabel.text = model.name;
- if (model.isSelected) {
- self.selectBtn.selected = YES;
- self.nameLabel.textColor = [UIColor hwColor:@"#3B7FFF"];
- }else {
- self.selectBtn.selected = NO;
- self.nameLabel.textColor = [UIColor hwColor:@"#FFFFFF"];
- }
- }
- @end
|