






#import "AddEditPageSeeCell.h"
#import "HaveDogHumanInfo.h"
#import "Masonry.h"
#import "UIColor+OffColor.h"

@implementation AddEditPageSeeCell

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

- (void)setModel:(HaveDogHumanInfo *)model
{
    _model = model;
    _viewHueLabel.text = model.presetMinOpt;
    _viewHueLabel.font = [UIFont systemFontOfSize:model.postcardCivilLockSleepEntitySpeed];
    _viewHueLabel.textColor = [UIColor optionalExpensiveTotalIterationWorkingHandshake:model.joinStampServiceComposeToolCellular];
    self.backgroundColor = [[UIColor optionalExpensiveTotalIterationWorkingHandshake:model.tipWaistPopFirePriorFinger] colorWithAlphaComponent:model.schedulerInsulinUsesAlpineSamplerUnlocked];
    self.layer.cornerRadius = 2;
}

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

@end
