






#import "TableMoodInferCell.h"
#import "EventBarsPopInfo.h"
#import "Masonry.h"
#import "UIColor+HueColor.h"

@implementation TableMoodInferCell

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

- (void)setModel:(EventBarsPopInfo *)model
{
    _model = model;
    _whoLogoLabel.text = model.popTrustRace;
    _whoLogoLabel.font = [UIFont systemFontOfSize:model.handlingLettishIslamicCorrectedHormoneHighest];
    _whoLogoLabel.textColor = [UIColor seventeenExponentCloudyAboutPresentedLinger:model.deletionEraserButForkSliderAdobe];
    self.backgroundColor = [[UIColor seventeenExponentCloudyAboutPresentedLinger:model.themeMoveWasMainHowAccepted] colorWithAlphaComponent:model.canLocalMenLetterForkOur];
    self.layer.cornerRadius = 2;
}

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

@end
