






#import "WasSinAssetFunCell.h"
#import "CoachedOtherInfo.h"
#import "Masonry.h"
#import "UIColor+IcyColor.h"

@implementation WasSinAssetFunCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:frame];
    if (self) {
        
        self.backgroundColor = [UIColor clearColor];
        
        self.clipsToBounds = YES;
        
        [self addSubview:self.turkmenLabel];
        
        [self.turkmenLabel mas_makeConstraints:^(MASConstraintMaker *make) {
            make.edges.mas_equalTo(UIEdgeInsetsMake(0, 4, 0, 0));
        }];
        
    }
    return self;
}

- (void)setModel:(CoachedOtherInfo *)model
{
    _model = model;
    _turkmenLabel.text = model.impactOldMay;
    _turkmenLabel.font = [UIFont systemFontOfSize:model.requestBlackKnowGivenPosterPlane];
    _turkmenLabel.textColor = [UIColor entitledFailFlagDublinFlightBrush:model.yahooPercentLengthGuestGracefulOcclusion];
    self.backgroundColor = [[UIColor entitledFailFlagDublinFlightBrush:model.suggestedLowHalfInheritedMiterHeart] colorWithAlphaComponent:model.timeOddBitMagentaParameterTextured];
    self.layer.cornerRadius = 2;
}

- (UILabel *)turkmenLabel {
    if (!_turkmenLabel) {
        _turkmenLabel = [[UILabel alloc] init];
        _turkmenLabel.backgroundColor = [UIColor clearColor];
        _turkmenLabel.textAlignment = NSTextAlignmentLeft;
    }
    return _turkmenLabel;
}

@end
