






#import "PashtoMetalNineScrollsRoundCell.h"
#import "DidTodayWax.h"
#import "Masonry.h"

@implementation PashtoMetalNineScrollsRoundCell

-(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.friendHairView = [UIImageView new];
        self.friendHairView.tintColor = [DidTodayWax mightLeftColor];
        self.friendHairView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.friendHairView];
        [self.friendHairView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(DidTodayWax.invitePencil.martialLeave);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(DidTodayWax.invitePencil.optCutterYet);
        }];
        
        
        self.hourHairName = [UILabel new];
        self.hourHairName.font = [UIFont boldSystemFontOfSize:16];
        self.hourHairName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.hourHairName];
        [self.hourHairName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.friendHairView.mas_right).offset(DidTodayWax.invitePencil.martialLeave);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.firstTheMinTime = [UILabel new];
        self.firstTheMinTime.font =  [UIFont systemFontOfSize:11];
        self.firstTheMinTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.firstTheMinTime];
        [self.firstTheMinTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(DidTodayWax.invitePencil.parserHeavy);
            make.left.equalTo(self.hourHairName);
        }];
    }
    return self;
}

@end
