






#import "DelayedBroadcastKinLearnedRemovalCell.h"
#import "AppleNotify.h"
#import "Masonry.h"

@implementation DelayedBroadcastKinLearnedRemovalCell

-(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.wonFixRollView = [UIImageView new];
        self.wonFixRollView.tintColor = [AppleNotify hourlyWaxColor];
        self.wonFixRollView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.wonFixRollView];
        [self.wonFixRollView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(AppleNotify.emailBestRaw.hexEffective);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(AppleNotify.emailBestRaw.yahooMapMode);
        }];
        
        
        self.wireHalfName = [UILabel new];
        self.wireHalfName.font = [UIFont boldSystemFontOfSize:16];
        self.wireHalfName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.wireHalfName];
        [self.wireHalfName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.wonFixRollView.mas_right).offset(AppleNotify.emailBestRaw.hexEffective);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.pressesRearTime = [UILabel new];
        self.pressesRearTime.font =  [UIFont systemFontOfSize:11];
        self.pressesRearTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.pressesRearTime];
        [self.pressesRearTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(AppleNotify.emailBestRaw.thumbFarOff);
            make.left.equalTo(self.wireHalfName);
        }];
    }
    return self;
}

@end
