






#import "ManEnteredAirHyphenEventCell.h"
#import "CupDenyLeap.h"
#import "Masonry.h"

@implementation ManEnteredAirHyphenEventCell

-(id)initWithStyle:(UITableViewCellStyle)style reuseIdentifier:(NSString *)reuseIdentifier{
    self = [super initWithStyle:style reuseIdentifier:reuseIdentifier];
    if(self){
        
        self.backgroundColor = UIColor.whiteColor;
        self.contentView.backgroundColor = UIColor.whiteColor;
        self.selectionStyle = UITableViewCellSelectionStyleNone;
        
        
        self.maskBitUseView = [UIImageView new];
        self.maskBitUseView.tintColor = [CupDenyLeap ringMatchColor];
        self.maskBitUseView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.maskBitUseView];
        [self.maskBitUseView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(CupDenyLeap.rarePutOther.builderLiner);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(CupDenyLeap.rarePutOther.producesGasp);
        }];
        
        
        self.optionalName = [UILabel new];
        self.optionalName.font = [UIFont boldSystemFontOfSize:16];
        self.optionalName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.optionalName];
        [self.optionalName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.maskBitUseView.mas_right).offset(CupDenyLeap.rarePutOther.builderLiner);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.hexBrandMayTime = [UILabel new];
        self.hexBrandMayTime.font =  [UIFont systemFontOfSize:11];
        self.hexBrandMayTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.hexBrandMayTime];
        [self.hexBrandMayTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(CupDenyLeap.rarePutOther.globallyTap);
            make.left.equalTo(self.optionalName);
        }];
    }
    return self;
}

@end
