






#import "WithFreestyleSymmetricTeaspoonsScriptCell.h"
#import "SkinMeanYet.h"
#import "Masonry.h"

@implementation WithFreestyleSymmetricTeaspoonsScriptCell

-(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.threadEastView = [UIImageView new];
        self.threadEastView.tintColor = [SkinMeanYet configureColor];
        self.threadEastView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.threadEastView];
        [self.threadEastView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(SkinMeanYet.reloadRawDay.replacedMain);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(SkinMeanYet.reloadRawDay.unionForLess);
        }];
        
        
        self.sheetPenName = [UILabel new];
        self.sheetPenName.font = [UIFont boldSystemFontOfSize:16];
        self.sheetPenName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.sheetPenName];
        [self.sheetPenName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.threadEastView.mas_right).offset(SkinMeanYet.reloadRawDay.replacedMain);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.creationSixTime = [UILabel new];
        self.creationSixTime.font =  [UIFont systemFontOfSize:11];
        self.creationSixTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.creationSixTime];
        [self.creationSixTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(SkinMeanYet.reloadRawDay.teamNumeric);
            make.left.equalTo(self.sheetPenName);
        }];
    }
    return self;
}

@end
