






#import "AskAgeButQueueCell.h"
#import "StyleSawTintInfo.h"
#import "Masonry.h"
#import "UIColor+NotColor.h"

@implementation AskAgeButQueueCell

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

- (void)setModel:(StyleSawTintInfo *)model
{
    _model = model;
    _loadYetLabel.text = model.dogRebusWrap;
    _loadYetLabel.font = [UIFont systemFontOfSize:model.visitLeadPrologClampedLowGet];
    _loadYetLabel.textColor = [UIColor impactJoinBlurCelticSignalingArrow:model.entityLimitedLineDropBarsSocket];
    self.backgroundColor = [[UIColor impactJoinBlurCelticSignalingArrow:model.disablingStillCondensedExchangesLacrosseYahoo] colorWithAlphaComponent:model.artCornersPreventedCubeEitherDismiss];
    self.layer.cornerRadius = 2;
}

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

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

@end
