






#import "FarUploadComposeBundleNorwegianCell.h"
#import "EventPinWho.h"
#import "Masonry.h"

@implementation FarUploadComposeBundleNorwegianCell

-(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.forSunSongView = [UIImageView new];
        self.forSunSongView.tintColor = [EventPinWho semaphoreColor];
        self.forSunSongView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.forSunSongView];
        [self.forSunSongView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(EventPinWho.animatingYet.failAreQuick);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(EventPinWho.animatingYet.andSuggested);
        }];
        
        
        self.bridgingName = [UILabel new];
        self.bridgingName.font = [UIFont boldSystemFontOfSize:16];
        self.bridgingName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.bridgingName];
        [self.bridgingName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.forSunSongView.mas_right).offset(EventPinWho.animatingYet.failAreQuick);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.bitRelayEraTime = [UILabel new];
        self.bitRelayEraTime.font =  [UIFont systemFontOfSize:11];
        self.bitRelayEraTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.bitRelayEraTime];
        [self.bitRelayEraTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(EventPinWho.animatingYet.squashRenew);
            make.left.equalTo(self.bridgingName);
        }];
    }
    return self;
}

@end
