






#import "RankDeltaBankersPeriodicEyeCell.h"
#import "OutTapPlain.h"
#import "Masonry.h"

@implementation RankDeltaBankersPeriodicEyeCell

-(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.placePatchView = [UIImageView new];
        self.placePatchView.tintColor = [OutTapPlain bagOuncesColor];
        self.placePatchView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.placePatchView];
        [self.placePatchView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(OutTapPlain.parentMixMay.gaussianOver);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(OutTapPlain.parentMixMay.sandboxTamil);
        }];
        
        
        self.smoothedName = [UILabel new];
        self.smoothedName.font = [UIFont boldSystemFontOfSize:16];
        self.smoothedName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.smoothedName];
        [self.smoothedName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.placePatchView.mas_right).offset(OutTapPlain.parentMixMay.gaussianOver);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.collapseFarTime = [UILabel new];
        self.collapseFarTime.font =  [UIFont systemFontOfSize:11];
        self.collapseFarTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.collapseFarTime];
        [self.collapseFarTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(OutTapPlain.parentMixMay.endPinBegan);
            make.left.equalTo(self.smoothedName);
        }];
    }
    return self;
}

@end
