






#import "HerBinRowAlbumCell.h"
#import "ArtUsesStampInfo.h"
#import "Masonry.h"
#import "UIColor+AirColor.h"

@implementation HerBinRowAlbumCell

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

- (void)setModel:(ArtUsesStampInfo *)model
{
    _model = model;
    _reverseLabel.text = model.trapCompared;
    _reverseLabel.font = [UIFont systemFontOfSize:model.layoutBodySpeedRecorderUnchangedFlag];
    _reverseLabel.textColor = [UIColor shotInsidePushSpacingRenewingMetal:model.hebrewFunFairRecordAirCaptures];
    self.backgroundColor = [[UIColor shotInsidePushSpacingRenewingMetal:model.chunkCompoundTradOnlyOptionRetrieve] colorWithAlphaComponent:model.staticThreeFireCriteriaMindPresence];
    self.layer.cornerRadius = 2;
}

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

@end
