






#import "RawBusCanDolbyCell.h"
#import "TooLawActionInfo.h"
#import "Masonry.h"
#import "UIColor+RetColor.h"

@implementation RawBusCanDolbyCell

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

- (void)setModel:(TooLawActionInfo *)model
{
    _model = model;
    _areQuitLabel.text = model.totalVisited;
    _areQuitLabel.font = [UIFont systemFontOfSize:model.bringKitExternQuickBagPage];
    _areQuitLabel.textColor = [UIColor handlingNoiseAbortMinimalExposeSentences:model.cycleLazyAreFatFixFor];
    self.backgroundColor = [[UIColor handlingNoiseAbortMinimalExposeSentences:model.seleniumSquaresCanSexualTrademarkParse] colorWithAlphaComponent:model.kazakhDrainActivatedCallDropCredits];
    self.layer.cornerRadius = 2;
}

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

@end
