






#import "PairMemberEggTomorrowSeparatedCell.h"
#import "FixChunkBad.h"
#import "Masonry.h"

@implementation PairMemberEggTomorrowSeparatedCell

-(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.sliceStoreView = [UIImageView new];
        self.sliceStoreView.tintColor = [FixChunkBad topOpaqueColor];
        self.sliceStoreView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.sliceStoreView];
        [self.sliceStoreView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(FixChunkBad.swedishTwist.reuseWithWon);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(FixChunkBad.swedishTwist.herAlongHalf);
        }];
        
        
        self.alphaOneName = [UILabel new];
        self.alphaOneName.font = [UIFont boldSystemFontOfSize:16];
        self.alphaOneName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.alphaOneName];
        [self.alphaOneName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.sliceStoreView.mas_right).offset(FixChunkBad.swedishTwist.reuseWithWon);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.beganLookupTime = [UILabel new];
        self.beganLookupTime.font =  [UIFont systemFontOfSize:11];
        self.beganLookupTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.beganLookupTime];
        [self.beganLookupTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(FixChunkBad.swedishTwist.runEggExits);
            make.left.equalTo(self.alphaOneName);
        }];
    }
    return self;
}

@end
