






#import "AboutNetRetOddCell.h"
#import "CentralPolarInfo.h"
#import "Masonry.h"
#import "UIColor+BarColor.h"

@implementation AboutNetRetOddCell

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

- (void)setModel:(CentralPolarInfo *)model
{
    _model = model;
    _askPassLabel.text = model.forBeatWrite;
    _askPassLabel.font = [UIFont systemFontOfSize:model.eggCarDependingAffectingPrintedPan];
    _askPassLabel.textColor = [UIColor reportsCinematicSlopeTapDiscreteBag:model.edgeSixAllocatedRomanCreamyMask];
    self.backgroundColor = [[UIColor reportsCinematicSlopeTapDiscreteBag:model.printedPinTruncatesFilterSupportBridged] colorWithAlphaComponent:model.phonogramReadoutAgreementSynthesisSwahiliMetal];
    self.layer.cornerRadius = 2;
}

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

@end
