






#import "PopRollShowKinCell.h"
#import "StylusOxygenInfo.h"
#import "Masonry.h"
#import "UIColor+RawColor.h"

@implementation PopRollShowKinCell

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

- (void)setModel:(StylusOxygenInfo *)model
{
    _model = model;
    _overRowLabel.text = model.tabHardShelf;
    _overRowLabel.font = [UIFont systemFontOfSize:model.useStrictlySuccessTwelveWayTelephony];
    _overRowLabel.textColor = [UIColor collapsesCompositeAndRenamingWorldDecrypted:model.allDocumentsRealmAffectingThiaminIndicated];
    self.backgroundColor = [[UIColor collapsesCompositeAndRenamingWorldDecrypted:model.chunkMoodTriggersResetSymmetricMultiply] colorWithAlphaComponent:model.freezingWayResponsesSpaMaintainBody];
    self.layer.cornerRadius = 2;
}

- (void)repairBatterySafariUnionCutter:(void(^)(void))animations completion:(void(^)(BOOL))completion {
    StylusOxygenInfo *info = (StylusOxygenInfo *)_model;
    if ([info isKindOfClass:[StylusOxygenInfo class]] && info.reorderSynthesisSentencesTerabytesAccording > 0) {
        self.transform = CGAffineTransformMakeTranslation(-info.reorderSynthesisSentencesTerabytesAccording, 0);
    }
    [super repairBatterySafariUnionCutter:animations completion:completion];
}

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

@end
