






#import "ParseFactoriesCell.h"
#import "DenseCarCubeInfo.h"
#import "Masonry.h"
#import "UIColor+DryColor.h"

@implementation ParseFactoriesCell

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

- (void)setModel:(DenseCarCubeInfo *)model
{
    _model = model;
    _blobBedLabel.text = model.rowLeaseWide;
    _blobBedLabel.font = [UIFont systemFontOfSize:model.predictedStableCommonTagVowelConfirm];
    _blobBedLabel.textColor = [UIColor napStandPurchasedCheckerSchemeRename:model.scalarAllowRenderScanningCoalesceResources];
    self.backgroundColor = [[UIColor napStandPurchasedCheckerSchemeRename:model.interReusableNonceWinStepMonth] colorWithAlphaComponent:model.chargingPrefixSurfaceDismissalLingerCat];
    self.layer.cornerRadius = 2;
}

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

@end
