






#import "DigitalCascadeAssertionDenyRankedCell.h"
#import "RaceRateYou.h"
#import "Masonry.h"

@implementation DigitalCascadeAssertionDenyRankedCell

-(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.tenWeekendView = [UIImageView new];
        self.tenWeekendView.tintColor = [RaceRateYou ropeCauseColor];
        self.tenWeekendView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.tenWeekendView];
        [self.tenWeekendView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(RaceRateYou.wristBoldNot.fingerKitPop);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(RaceRateYou.wristBoldNot.charAlbumOur);
        }];
        
        
        self.mildPlayName = [UILabel new];
        self.mildPlayName.font = [UIFont boldSystemFontOfSize:16];
        self.mildPlayName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.mildPlayName];
        [self.mildPlayName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.tenWeekendView.mas_right).offset(RaceRateYou.wristBoldNot.fingerKitPop);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.gramBackBitTime = [UILabel new];
        self.gramBackBitTime.font =  [UIFont systemFontOfSize:11];
        self.gramBackBitTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.gramBackBitTime];
        [self.gramBackBitTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(RaceRateYou.wristBoldNot.youSiteLink);
            make.left.equalTo(self.mildPlayName);
        }];
    }
    return self;
}

@end
