






#import "BackDecodeGaspCell.h"
#import "KilobytesAnyInfo.h"
#import "Masonry.h"
#import "UIColor+WinColor.h"

@implementation BackDecodeGaspCell

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

- (void)setModel:(KilobytesAnyInfo *)model
{
    _model = model;
    _shuffleLabel.text = model.oceanKitLive;
    _shuffleLabel.font = [UIFont systemFontOfSize:model.grantedTradBankConflictWindowFamily];
    _shuffleLabel.textColor = [UIColor phoneticAlignmentLabelSortUnsavedLeave:model.encodingsIncludesSerializeBitsRootAdvanced];
    self.backgroundColor = [[UIColor phoneticAlignmentLabelSortUnsavedLeave:model.kilogramLightenSeparatorRedoneDateFusion] colorWithAlphaComponent:model.sawPintCoalescedDiastolicSubtitleAuto];
    self.layer.cornerRadius = 2;
}

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

@end
