







#import "StopLostSliderCell.h"
#define verySum(fun) __weak typeof(fun) weak##fun = fun;
#define debugging(fun) __strong typeof(fun) fun = weak##fun;

@interface StopLostSliderCell()



@property (nonatomic, strong) NSTimer *malay;

@property (nonatomic, assign) BOOL deltaFlatSmile;

@end

@implementation StopLostSliderCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _repeatsSize = CGSizeMake(200, 40);
        _shadowChroma = 4;
        _model = nil;
        _channelCount = 3;
        _soccer = 0;
        _dashUsesArabic = 0;
        _status = MalformedEsperantoObservingChinaValuePencil;
        _deltaFlatSmile = NO;
        
    }
    return self;
}

- (void)tipTargetRightWonNumberValue
{
    CGFloat freeMore = [[self.layer presentationLayer] frame].origin.x;
    CGFloat mayFireWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + mayFireWidth) / self.shadowChroma;
    
    
    CGFloat exposeMenTime = mayFireWidth / speed;
    
    if (_dashUsesArabic > 0) {
        self.status = AreaFactorySceneChromiumHindiMismatch;
        if (freeMore > -1 && freeMore < 1) {
            
            if (_deltaFlatSmile) { return;}
            _deltaFlatSmile = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_dashUsesArabic];
            [self performSelector:@selector(panMixStatus) withObject:nil afterDelay:_dashUsesArabic - exposeMenTime];
        }
    }
}
- (void)panMixStatus
{
    self.status = ClustersArbitraryAppleBusPoliciesNetwork;
}

- (void)shiftCloudCropMarkupQuantity:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = ClustersArbitraryAppleBusPoliciesNetwork;
    
    _malay = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(tipTargetRightWonNumberValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_malay forMode:NSRunLoopCommonModes];
    
    
    verySum(self);
    [UIView animateWithDuration:self.shadowChroma delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        debugging(self);
        self->_status = ClustersArbitraryAppleBusPoliciesNetwork;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_malay) {
            [self->_malay invalidate];
            self->_malay = nil;
        }
        
    }];
}

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

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


@end
