






#import "YouBitLossTempCell.h"
#import "BuilderGenreInfo.h"
#import "Masonry.h"
#import "UIColor+NetColor.h"

@implementation YouBitLossTempCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.backgroundColor = [UIColor clearColor];
        
        self.clipsToBounds = YES;
        
        [self addSubview:self.changedLabel];
        
        [self.changedLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.mas_equalTo(UIEdgeInsetsMake(0, 4, 0, 0));
        }];
        
    }
    return self;
}

- (void)setModel:(BuilderGenreInfo *)model
{
    _model = model;
    _changedLabel.text = model.convertLayer;
    _changedLabel.font = [UIFont systemFontOfSize:model.zipFoggySurgeFlemishMotionLuminance];
    _changedLabel.textColor = [UIColor selectorsSecretEarPastExitsTip:model.cupWonDetectedRegularAmbientDirectly];
    self.backgroundColor = [[UIColor selectorsSecretEarPastExitsTip:model.introEngravedCoverUpsideSubtitlesKit] colorWithAlphaComponent:model.tabEndExistCaloriesSpringSilence];
    self.layer.cornerRadius = 2;
}

- (UILabel *)changedLabel {
    if (!_changedLabel) {
        _changedLabel = [[UILabel alloc] init];
        _changedLabel.backgroundColor = [UIColor clearColor];
        _changedLabel.textAlignment = NSTextAlignmentLeft;
    }
    return _changedLabel;
}

@end
