






#import "ReceiverSlabAddWrappersWonCell.h"
#import "MaskTheGray.h"
#import "Masonry.h"

@implementation ReceiverSlabAddWrappersWonCell

-(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.feedSparseView = [UIImageView new];
        self.feedSparseView.tintColor = [MaskTheGray screenNapColor];
        self.feedSparseView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.feedSparseView];
        [self.feedSparseView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(MaskTheGray.andRomanPath.albumComplex);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(MaskTheGray.andRomanPath.clockwiseTab);
        }];
        
        
        self.pinWaistName = [UILabel new];
        self.pinWaistName.font = [UIFont boldSystemFontOfSize:16];
        self.pinWaistName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.pinWaistName];
        [self.pinWaistName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.feedSparseView.mas_right).offset(MaskTheGray.andRomanPath.albumComplex);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.ironReclaimTime = [UILabel new];
        self.ironReclaimTime.font =  [UIFont systemFontOfSize:11];
        self.ironReclaimTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.ironReclaimTime];
        [self.ironReclaimTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(MaskTheGray.andRomanPath.endFarthest);
            make.left.equalTo(self.pinWaistName);
        }];
    }
    return self;
}

@end
