






#import "DistortedMillibarsReorderBurmeseMostlyCell.h"
#import "BadgeSunIcy.h"
#import "Masonry.h"

@implementation DistortedMillibarsReorderBurmeseMostlyCell

-(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.didCalciumView = [UIImageView new];
        self.didCalciumView.tintColor = [BadgeSunIcy lemmaBestColor];
        self.didCalciumView.layer.cornerRadius = 15;
        [self.contentView addSubview:self.didCalciumView];
        [self.didCalciumView mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.mas_equalTo(BadgeSunIcy.greekBlueArt.ornamentShow);
            make.centerY.mas_equalTo(self);
            make.width.height.mas_equalTo(BadgeSunIcy.greekBlueArt.echoSobAxial);
        }];
        
        
        self.preserveName = [UILabel new];
        self.preserveName.font = [UIFont boldSystemFontOfSize:16];
        self.preserveName.textColor = UIColor.darkGrayColor;
        [self.contentView addSubview:self.preserveName];
        [self.preserveName mas_makeConstraints:^(MASConstraintMaker *make) {
            make.left.equalTo(self.didCalciumView.mas_right).offset(BadgeSunIcy.greekBlueArt.ornamentShow);
            make.bottom.equalTo(self.contentView.mas_centerY);
        }];
        
        
        self.maxRecentlyTime = [UILabel new];
        self.maxRecentlyTime.font =  [UIFont systemFontOfSize:11];
        self.maxRecentlyTime.textColor = UIColor.grayColor;
        [self.contentView addSubview:self.maxRecentlyTime];
        [self.maxRecentlyTime mas_makeConstraints:^(MASConstraintMaker *make) {
            make.top.equalTo(self.contentView.mas_centerY).offset(BadgeSunIcy.greekBlueArt.mutationHow);
            make.left.equalTo(self.preserveName);
        }];
    }
    return self;
}

@end
