






#import "PurpleConstructPurchasedOldestPreferredCell.h"
#import "MakerOldest.h"
#import "Masonry.h"

@implementation PurpleConstructPurchasedOldestPreferredCell

-(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.outPinChatView = [UIImageView new];
        self.outPinChatView.tintColor = [MakerOldest caseAboutColor];
        self.outPinChatView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.outPinChatView];
        [self.outPinChatView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(MakerOldest.redoneFinder.menDolbyHead);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(MakerOldest.redoneFinder.busScanScale);
        }];
        
        
        self.sawNorthName = [UILabel new];
        self.sawNorthName.font = [UIFont boldSystemFontOfSize:16];
        self.sawNorthName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.sawNorthName];
        [self.sawNorthName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.outPinChatView.mas_right).offset(MakerOldest.redoneFinder.menDolbyHead);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.capEuropeanTime = [UILabel new];
        self.capEuropeanTime.font =  [UIFont systemFontOfSize:11];
        self.capEuropeanTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.capEuropeanTime];
        [self.capEuropeanTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(MakerOldest.redoneFinder.exposeSpeak);
            make.left.equalTo(self.sawNorthName);
        }];
    }
    return self;
}

@end
