






#import "MovementYoungestAspectSmoothingPreservesCell.h"
#import "PaceDownHue.h"
#import "Masonry.h"

@implementation MovementYoungestAspectSmoothingPreservesCell

-(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.farsiLooseView = [UIImageView new];
        self.farsiLooseView.tintColor = [PaceDownHue frequencyColor];
        self.farsiLooseView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.farsiLooseView];
        [self.farsiLooseView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(PaceDownHue.absoluteAuto.barsEvictWho);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(PaceDownHue.absoluteAuto.tipPanRegion);
        }];
        
        
        self.securelyName = [UILabel new];
        self.securelyName.font = [UIFont boldSystemFontOfSize:16];
        self.securelyName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.securelyName];
        [self.securelyName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.farsiLooseView.mas_right).offset(PaceDownHue.absoluteAuto.barsEvictWho);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.sumFocusingTime = [UILabel new];
        self.sumFocusingTime.font =  [UIFont systemFontOfSize:11];
        self.sumFocusingTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.sumFocusingTime];
        [self.sumFocusingTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(PaceDownHue.absoluteAuto.meterBitFun);
            make.left.equalTo(self.securelyName);
        }];
    }
    return self;
}

@end
