






#import "KinPluralTapBitsServicesCell.h"
#import "DistantEach.h"
#import "Masonry.h"

@implementation KinPluralTapBitsServicesCell

-(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.bigNeedOptView = [UIImageView new];
        self.bigNeedOptView.tintColor = [DistantEach tildePastColor];
        self.bigNeedOptView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.bigNeedOptView];
        [self.bigNeedOptView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(DistantEach.whoFrenchMin.loopsTypeRet);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(DistantEach.whoFrenchMin.pipeFlexible);
        }];
        
        
        self.givenEyeName = [UILabel new];
        self.givenEyeName.font = [UIFont boldSystemFontOfSize:16];
        self.givenEyeName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.givenEyeName];
        [self.givenEyeName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.bigNeedOptView.mas_right).offset(DistantEach.whoFrenchMin.loopsTypeRet);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.lowScopePubTime = [UILabel new];
        self.lowScopePubTime.font =  [UIFont systemFontOfSize:11];
        self.lowScopePubTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.lowScopePubTime];
        [self.lowScopePubTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(DistantEach.whoFrenchMin.endLeaseHit);
            make.left.equalTo(self.givenEyeName);
        }];
    }
    return self;
}

@end
