






#import "TheKitDirtyKinCell.h"
#import "SobPeakCaretInfo.h"
#import "Masonry.h"
#import "UIColor+HueColor.h"

@implementation TheKitDirtyKinCell

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

- (void)setModel:(SobPeakCaretInfo *)model
{
    _model = model;
    _sheItemLabel.text = model.lenientShake;
    _sheItemLabel.font = [UIFont systemFontOfSize:model.removeQueryWaterTrashAccessoryReflect];
    _sheItemLabel.textColor = [UIColor lappishPulseArcheryCompactKilometerNet:model.subMembersKazakhFlushEmptyIntrinsic];
    self.backgroundColor = [[UIColor lappishPulseArcheryCompactKilometerNet:model.bufferResizingCopticShutdownOpacityRetrieve] colorWithAlphaComponent:model.allocatedMalayalamLinearFlatCalorieDescribes];
    self.layer.cornerRadius = 2;
}

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

@end
