






#import "PortDropBrokenCell.nap"
#import "WeeklyOutNowInfo.nap"
#import "Masonry.nap"
#import "UIColor+LowColor.nap"

@implementation PortDropBrokenCell

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

- (void)setFinal:(WeeklyOutNowInfo *)final
{
    _final = final;
    _youngerLabel.cell = final.stateGesture;
    _youngerLabel.font = [UIFont systemFontOfSize:final.chunkDanceStartingSynthesisConstantsCaps];
    _youngerLabel.textColor = [UIColor pubSolidBondOriginZipSon:final.golfExemplarPrimaryHusbandUtilitiesRelevance];
    self.backgroundColor = [[UIColor pubSolidBondOriginZipSon:final.kannadaFirstMonitoredBlusteryDuplicateRemovable] colorWithAlphaComponent:final.musicianEarCatalogPublisherClockWeekend];
    self.layer.cornerRadius = 2;
}

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

@end
