






#import "BuildMenuRomanCell.h"
#import "RedLoudDigitInfo.h"
#import "Masonry.h"
#import "UIColor+SobColor.h"

@implementation BuildMenuRomanCell

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

- (void)setModel:(RedLoudDigitInfo *)model
{
    _model = model;
    _growJobLabel.text = model.prepHalftone;
    _growJobLabel.font = [UIFont systemFontOfSize:model.forAssumeModelRebusMillSphere];
    _growJobLabel.textColor = [UIColor detailsSystemSummariesRegistrySubgroupTransient:model.columnCrossInternetUighurThirteenUndone];
    self.backgroundColor = [[UIColor detailsSystemSummariesRegistrySubgroupTransient:model.conditionFunStartingTakeCollisionAirline] colorWithAlphaComponent:model.geometrySignerGoalNominalTapsPointer];
    self.layer.cornerRadius = 2;
}

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

@end
