






#import "BeginningFixAreTwoBurstCell.h"
#import "InvertPinch.h"
#import "Masonry.h"

@implementation BeginningFixAreTwoBurstCell

-(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.artsOptionView = [UIImageView new];
        self.artsOptionView.tintColor = [InvertPinch indicatedColor];
        self.artsOptionView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.artsOptionView];
        [self.artsOptionView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(InvertPinch.didThousands.stereoPartly);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(InvertPinch.didThousands.illBitNepali);
        }];
        
        
        self.scanningName = [UILabel new];
        self.scanningName.font = [UIFont boldSystemFontOfSize:16];
        self.scanningName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.scanningName];
        [self.scanningName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.artsOptionView.mas_right).offset(InvertPinch.didThousands.stereoPartly);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.racePackCarTime = [UILabel new];
        self.racePackCarTime.font =  [UIFont systemFontOfSize:11];
        self.racePackCarTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.racePackCarTime];
        [self.racePackCarTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(InvertPinch.didThousands.echoUsedSub);
            make.left.equalTo(self.scanningName);
        }];
    }
    return self;
}

@end
