






#import "PressObservingShareFailFourCell.h"
#import "PartialBest.h"
#import "Masonry.h"

@implementation PressObservingShareFailFourCell

-(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.skipUnsafeView = [UIImageView new];
        self.skipUnsafeView.tintColor = [PartialBest turnOtherColor];
        self.skipUnsafeView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.skipUnsafeView];
        [self.skipUnsafeView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(PartialBest.mouseEarlier.nameBrushDry);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(PartialBest.mouseEarlier.countTenSelf);
        }];
        
        
        self.dateDenyName = [UILabel new];
        self.dateDenyName.font = [UIFont boldSystemFontOfSize:16];
        self.dateDenyName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.dateDenyName];
        [self.dateDenyName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.skipUnsafeView.mas_right).offset(PartialBest.mouseEarlier.nameBrushDry);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.unlockGreekTime = [UILabel new];
        self.unlockGreekTime.font =  [UIFont systemFontOfSize:11];
        self.unlockGreekTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.unlockGreekTime];
        [self.unlockGreekTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(PartialBest.mouseEarlier.proxyTipNap);
            make.left.equalTo(self.dateDenyName);
        }];
    }
    return self;
}

@end
