






#import "GoldenMovementCell.h"
#import "ShortForwardInfo.h"
#import "Masonry.h"
#import "UIColor+HisColor.h"

@implementation GoldenMovementCell

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

- (void)setModel:(ShortForwardInfo *)model
{
    _model = model;
    _proceedLabel.text = model.pinchFarFeat;
    _proceedLabel.font = [UIFont systemFontOfSize:model.tamilTelephoneHairDefaultsHasGain];
    _proceedLabel.textColor = [UIColor grantingHomeLowClickedDogCellphone:model.advancesUtilityLinearlyBikeWinFit];
    self.backgroundColor = [[UIColor grantingHomeLowClickedDogCellphone:model.flightToggleCapturingInfinitySettlingIdle] colorWithAlphaComponent:model.extensionAssertTruncatedEasyFourHandle];
    self.layer.cornerRadius = 2;
}

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

@end
