






#import "GreekSeleniumPatternEraserEsperantoCell.h"
#import "DueIcyFetch.h"
#import "Masonry.h"

@implementation GreekSeleniumPatternEraserEsperantoCell

-(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.tabularButView = [UIImageView new];
        self.tabularButView.tintColor = [DueIcyFetch outPostalColor];
        self.tabularButView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.tabularButView];
        [self.tabularButView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(DueIcyFetch.itsPosterIcy.netIndianFat);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(DueIcyFetch.itsPosterIcy.managerMetal);
        }];
        
        
        self.justFileName = [UILabel new];
        self.justFileName.font = [UIFont boldSystemFontOfSize:16];
        self.justFileName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.justFileName];
        [self.justFileName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.tabularButView.mas_right).offset(DueIcyFetch.itsPosterIcy.netIndianFat);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.endDispatchTime = [UILabel new];
        self.endDispatchTime.font =  [UIFont systemFontOfSize:11];
        self.endDispatchTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.endDispatchTime];
        [self.endDispatchTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(DueIcyFetch.itsPosterIcy.fisheyeTemp);
            make.left.equalTo(self.justFileName);
        }];
    }
    return self;
}

@end
