







#import "OrdinaryPosterCell.h"
#define lawRows(fat) __weak typeof(fat) weak##fat = fat;
#define veryAngle(fat) __strong typeof(fat) fat = weak##fat;

@interface OrdinaryPosterCell()



@property (nonatomic, strong) NSTimer *yahoo;

@property (nonatomic, assign) BOOL idiomAwakeSwap;

@end

@implementation OrdinaryPosterCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _iterateSize = CGSizeMake(200, 40);
        _eldestBundle = 4;
        _model = nil;
        _channelCount = 3;
        _bagOur = 0;
        _logCellFeatMix = 0;
        _status = PriorNumeratorSensorPairTopAge;
        _idiomAwakeSwap = NO;
        
    }
    return self;
}

- (void)indicatedUsesItalicSlidingForValue
{
    CGFloat managers = [[self.layer presentationLayer] frame].origin.x;
    CGFloat joiningWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + joiningWidth) / self.eldestBundle;
    
    
    CGFloat brownFlowTime = joiningWidth / speed;
    
    if (_logCellFeatMix > 0) {
        self.status = WonShiftDetermineRareReactorKeep;
        if (-1< managers < 1) {
            
            if (_idiomAwakeSwap) { return;}
            _idiomAwakeSwap = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_logCellFeatMix];
            [self performSelector:@selector(subZipStatus) withObject:nil afterDelay:_logCellFeatMix - brownFlowTime];
        }
    }
}
- (void)subZipStatus
{
    self.status = OptUnboundFractionsWidthTreeToday;
}

- (void)additivePlugChromaEraserHis:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = OptUnboundFractionsWidthTreeToday;
    
    _yahoo = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(indicatedUsesItalicSlidingForValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_yahoo forMode:NSRunLoopCommonModes];
    
    
    lawRows(self);
    [UIView animateWithDuration:self.eldestBundle delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        veryAngle(self);
        self->_status = OptUnboundFractionsWidthTreeToday;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_yahoo) {
            [self->_yahoo invalidate];
            self->_yahoo = nil;
        }
        
    }];
}

- (void)pause
{
    
    CFTimeInterval aliveTime = [self.layer convertTime:CACurrentMediaTime() fromLayer:nil];
    
    
    self.layer.timeOffset = aliveTime;
    
    
    self.layer.speed = 0;
}

- (void)resume
{
    
    CFTimeInterval aliveTime = self.layer.timeOffset;
    
    CFTimeInterval execCropSobAnd = CACurrentMediaTime() - aliveTime;
    
    self.layer.timeOffset = 0;
    
    self.layer.beginTime = execCropSobAnd;
    
    self.layer.speed = 1;
}


@end
