






#import "PoolAgeUsedSixCell.h"
#import "SizeNineteenInfo.h"
#import "Masonry.h"
#import "UIColor+MapColor.h"

@implementation PoolAgeUsedSixCell

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

- (void)setModel:(SizeNineteenInfo *)model
{
    _model = model;
    _handItsLabel.text = model.logFilterOdd;
    _handItsLabel.font = [UIFont systemFontOfSize:model.selectingMusicKerningLeadPutCompared];
    _handItsLabel.textColor = [UIColor streetFlipBeforeListAmountEntropy:model.roomCroppingDynamicMegabytesFollowBecome];
    self.backgroundColor = [[UIColor streetFlipBeforeListAmountEntropy:model.subfamilyOlympusSleetHoursTargetedMay] colorWithAlphaComponent:model.balanceOptimizedToggleBroadcastConfigureBridge];
    self.layer.cornerRadius = 2;
}

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

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

@end
