OnlineLearningTableViewCell.m 621 Bytes
Newer Older
曹云霄's avatar
曹云霄 committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18
//
//  OnlineLearningTableViewCell.m
//  Lighting
//
//  Created by 曹云霄 on 2016/11/16.
//  Copyright © 2016年 上海勾芒科技有限公司. All rights reserved.
//

#import "OnlineLearningTableViewCell.h"

@implementation OnlineLearningTableViewCell

- (void)awakeFromNib {
    [super awakeFromNib];
    // Initialization code
}


19 20 21 22 23 24 25
- (void)setStudeType:(TOStudyTypeEntity *)studeType
{
    _studeType = studeType;
    [self.studyItemImageView sd_setImageWithURL:[NSURL URLWithString:_studeType.attachment.thumbnailUrl] placeholderImage:REPLACEIMAGE];
    self.studyItemTitleLabel.text = _studeType.name;
}

曹云霄's avatar
曹云霄 committed
26
@end