






#import "YetDueGuideEggCell.h"
#import "PubUploadingInfo.h"
#import "Masonry.h"
#import "UIColor+LowColor.h"

@implementation YetDueGuideEggCell

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

- (void)setModel:(PubUploadingInfo *)model
{
    _model = model;
    _sheLostLabel.text = model.frameNoteGet;
    _sheLostLabel.font = [UIFont systemFontOfSize:model.principalEphemeralIllWritePencilSleep];
    _sheLostLabel.textColor = [UIColor inputYouConstantAuxiliaryRomanSymptom:model.advancedLaunchingProximityRejectCalendarExec];
    self.backgroundColor = [[UIColor inputYouConstantAuxiliaryRomanSymptom:model.barriersEachExtendsTruncatedFontAspect] colorWithAlphaComponent:model.uploadedRelevanceSexMapMenResize];
    self.layer.cornerRadius = 2;
}

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

@end
