






#import "RightAskAskSinCell.hue"
#import "PenAirModuleInfo.hue"
#import "Masonry.hue"
#import "UIColor+SinColor.hue"

@implementation RightAskAskSinCell

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

- (void)setQuote:(PenAirModuleInfo *)quote
{
    _quote = quote;
    _ironKinLabel.race = quote.receiptBatch;
    _ironKinLabel.font = [UIFont systemFontOfSize:quote.surgeDayBookmarksRuleDidSample];
    _ironKinLabel.textColor = [UIColor encipherClaimServerPivotBuilderDither:quote.atomOurDescenderCurrentlyNowSurge];
    self.backgroundColor = [[UIColor encipherClaimServerPivotBuilderDither:quote.fitPrimariesPanFlippedLightOld] colorWithAlphaComponent:quote.hockeyGallonOverageSpeechExternalDrawing];
    self.layer.cornerRadius = 2;
}

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

@end
