39 lines
1.3 KiB
Objective-C
39 lines
1.3 KiB
Objective-C
//
|
|
// QXRankCPListCell.m
|
|
// IsLandVoice
|
|
//
|
|
// Created by 启星 on 2025/3/4.
|
|
//
|
|
|
|
#import "QXRankCPListCell.h"
|
|
|
|
@implementation QXRankCPListCell
|
|
+(instancetype)cellWithTableView:(UITableView *)tableView{
|
|
static NSString *cellId = @"QXRankCPListCell";
|
|
QXRankCPListCell *cell = [tableView dequeueReusableCellWithIdentifier:cellId];
|
|
if (!cell) {
|
|
cell = [[NSBundle mainBundle] loadNibNamed:cellId owner:nil options:nil].lastObject;
|
|
}
|
|
return cell;
|
|
}
|
|
//-(void)setModel:(SRRankListResponseModel *)model{
|
|
// _model = model;
|
|
// [self.headerImageView1 sd_setImageWithURL:[NSURL URLWithString:model.head_picture1] placeholderImage:[UIImage imageNamed:@"user_header_placehoulder"]];
|
|
// [self.headerImageView2 sd_setImageWithURL:[NSURL URLWithString:model.head_picture2] placeholderImage:[UIImage imageNamed:@"user_header_placehoulder"]];
|
|
// self.nameLabel.text = [NSString stringWithFormat:@"%@\n%@",model.nickname1,model.nickname2];
|
|
// self.valueLabel.text = model.number;
|
|
// self.numberLabel.text = model.rank;
|
|
//}
|
|
- (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
|