






#import "LocationMediumHeartPositionsCellCell.h"
#import "ForHueAfter.h"
#import "Masonry.h"

@implementation LocationMediumHeartPositionsCellCell

-(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.capBitSnowView = [UIImageView new];
        self.capBitSnowView.tintColor = [ForHueAfter requiringColor];
        self.capBitSnowView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.capBitSnowView];
        [self.capBitSnowView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(ForHueAfter.grayGradient.submitTopAnd);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(ForHueAfter.grayGradient.napEndpoints);
        }];
        
        
        self.nearBaseName = [UILabel new];
        self.nearBaseName.font = [UIFont boldSystemFontOfSize:16];
        self.nearBaseName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.nearBaseName];
        [self.nearBaseName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.capBitSnowView.mas_right).offset(ForHueAfter.grayGradient.submitTopAnd);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.drumCompactTime = [UILabel new];
        self.drumCompactTime.font =  [UIFont systemFontOfSize:11];
        self.drumCompactTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.drumCompactTime];
        [self.drumCompactTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(ForHueAfter.grayGradient.armQueryAdd);
            make.left.equalTo(self.nearBaseName);
        }];
    }
    return self;
}

@end
