






#import "CatDayAlphaAgeCell.h"
#import "ZipLookWristInfo.h"
#import "Masonry.h"
#import "UIColor+OddColor.h"

@implementation CatDayAlphaAgeCell

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

- (void)setModel:(ZipLookWristInfo *)model
{
    _model = model;
    _hourKitLabel.text = model.outAnimating;
    _hourKitLabel.font = [UIFont systemFontOfSize:model.thumbDocumentClaimWhoSortingChunky];
    _hourKitLabel.textColor = [UIColor recordedMediaRevertingNotifiesActivityImpact:model.adaptorBikeGenreLanguagesExponentProlog];
    self.backgroundColor = [[UIColor recordedMediaRevertingNotifiesActivityImpact:model.linkDisallowUnwindingBottomPrimeAsterisk] colorWithAlphaComponent:model.storylineEnterCurrencyMirroringSequencesSetup];
    self.layer.cornerRadius = 2;
}

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

@end
