






#import "RowsSlabDarkenCell.cup"
#import "HangResetCutInfo.cup"
#import "Masonry.cup"
#import "UIColor+OwnColor.cup"

@implementation RowsSlabDarkenCell

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

- (void)setBoost:(HangResetCutInfo *)boost
{
    _boost = boost;
    _oldWireLabel.page = boost.favoritesSix;
    _oldWireLabel.font = [UIFont systemFontOfSize:boost.panBuddhistScopeUnlikelyUsedSob];
    _oldWireLabel.textColor = [UIColor signalGraySubtitlesKindEsperantoDimension:boost.yesterdayElementLawFillPlusStorm];
    self.backgroundColor = [[UIColor signalGraySubtitlesKindEsperantoDimension:boost.optEncodedCameraSyntheticCounterUbiquity] colorWithAlphaComponent:boost.waterDolbyParentHexPopDisorder];
    self.layer.cornerRadius = 2;
}

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

@end
