






#import "ProducedEggDragLocationStaticCell.h"
#import "ClaimMaxBig.h"
#import "Masonry.h"

@implementation ProducedEggDragLocationStaticCell

-(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.commandAddView = [UIImageView new];
        self.commandAddView.tintColor = [ClaimMaxBig nineSlideColor];
        self.commandAddView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.commandAddView];
        [self.commandAddView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(ClaimMaxBig.applierPatch.turnHeadline);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(ClaimMaxBig.applierPatch.wonSourceSay);
        }];
        
        
        self.birthDayName = [UILabel new];
        self.birthDayName.font = [UIFont boldSystemFontOfSize:16];
        self.birthDayName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.birthDayName];
        [self.birthDayName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.commandAddView.mas_right).offset(ClaimMaxBig.applierPatch.turnHeadline);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.capsResultsTime = [UILabel new];
        self.capsResultsTime.font =  [UIFont systemFontOfSize:11];
        self.capsResultsTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.capsResultsTime];
        [self.capsResultsTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(ClaimMaxBig.applierPatch.breakInland);
            make.left.equalTo(self.birthDayName);
        }];
    }
    return self;
}

@end
