






#import "PrintBinNapFarCell.h"
#import "CopyrightLowInfo.h"
#import "Masonry.h"
#import "UIColor+OutColor.h"

@implementation PrintBinNapFarCell

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

- (void)setModel:(CopyrightLowInfo *)model
{
    _model = model;
    _fatHostLabel.text = model.artSundanese;
    _fatHostLabel.font = [UIFont systemFontOfSize:model.sinTiedCervicalSubgroupsSymmetricBeen];
    _fatHostLabel.textColor = [UIColor supportedPopFlatInsideAndTornado:model.exactnessElevenBondKernelTranslateAlong];
    self.backgroundColor = [[UIColor supportedPopFlatInsideAndTornado:model.nowBarriersMillionDriveSobPrompt] colorWithAlphaComponent:model.lightRemoveWinHomeKeyOffset];
    self.layer.cornerRadius = 2;
}

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

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

@end
