






#import "BecomeBusWidgetCollapseAbortCell.h"
#import "SobIllWelsh.h"
#import "Masonry.h"

@implementation BecomeBusWidgetCollapseAbortCell

-(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.eachForBitView = [UIImageView new];
        self.eachForBitView.tintColor = [SobIllWelsh itemQuickColor];
        self.eachForBitView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.eachForBitView];
        [self.eachForBitView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(SobIllWelsh.followBigKit.herPreserved);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(SobIllWelsh.followBigKit.trackAreRedo);
        }];
        
        
        self.usesPlusName = [UILabel new];
        self.usesPlusName.font = [UIFont boldSystemFontOfSize:16];
        self.usesPlusName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.usesPlusName];
        [self.usesPlusName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.eachForBitView.mas_right).offset(SobIllWelsh.followBigKit.herPreserved);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.clangVisualTime = [UILabel new];
        self.clangVisualTime.font =  [UIFont systemFontOfSize:11];
        self.clangVisualTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.clangVisualTime];
        [self.clangVisualTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(SobIllWelsh.followBigKit.cocoaGather);
            make.left.equalTo(self.usesPlusName);
        }];
    }
    return self;
}

@end
