Files
featherVoice/QXLive/Mine(音域)/View/每日任务/QXTaskGiftRecordCell.m
2025-08-08 10:49:36 +08:00

38 lines
1002 B
Objective-C

//
// QXTaskGiftRecordCell.m
// QXLive
//
// Created by 启星 on 2025/7/11.
//
#import "QXTaskGiftRecordCell.h"
@implementation QXTaskGiftRecordCell
+(instancetype)cellWithTableView:(UITableView *)tableView{
static NSString *cellId = @"QXTaskGiftRecordCell";
QXTaskGiftRecordCell *cell = [tableView dequeueReusableCellWithIdentifier:cellId];
if (!cell) {
cell = [[NSBundle mainBundle] loadNibNamed:cellId owner:nil options:nil].lastObject;
cell.backgroundColor = [UIColor clearColor];
}
return cell;
}
-(void)setModel:(QXTaskGiftBoxRecordModel *)model{
_model = model;
self.titleLabel.text = model.createtime;
self.nameLabel.text = model.gift_bag_name;
self.giftLabel.text = model.gift_name;
}
- (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
}
@end