






#import "PintMustFixSonCell.h"
#import "BeaconsSevenInfo.h"
#import "Masonry.h"
#import "UIColor+RunColor.h"

@implementation PintMustFixSonCell

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

- (void)setModel:(BeaconsSevenInfo *)model
{
    _model = model;
    _tooCapsLabel.text = model.arabicLinear;
    _tooCapsLabel.font = [UIFont systemFontOfSize:model.anchorsBriefReadableOurCallItalic];
    _tooCapsLabel.textColor = [UIColor farsiProcessFeaturesSmoothingRotatingSix:model.layerYesterdayRelaySynthesisPaceOut];
    self.backgroundColor = [[UIColor farsiProcessFeaturesSmoothingRotatingSix:model.driveBehaviorsAnyMolarRedoChar] colorWithAlphaComponent:model.disparityPrefixTipAdjustingDecisionKin];
    self.layer.cornerRadius = 2;
}

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

@end
