







#import "OddAxesExecAirCell.h"
#define sheLess(ill) __weak typeof(ill) weak##ill = ill;
#define condensed(ill) __strong typeof(ill) ill = weak##ill;

@interface OddAxesExecAirCell()



@property (nonatomic, strong) NSTimer *today;

@property (nonatomic, assign) BOOL winWorldBusYou;

@end

@implementation OddAxesExecAirCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _offsetsSize = CGSizeMake(200, 40);
        _swimmingLift = 4;
        _model = nil;
        _channelCount = 3;
        _reader = 0;
        _crossBasalHand = 0;
        _status = LearnBagDiscardsFarConnectDiagnose;
        _winWorldBusYou = NO;
        
    }
    return self;
}

- (void)millionApplyOneDiastolicRuleValue
{
    CGFloat touchLaw = [[self.layer presentationLayer] frame].origin.x;
    CGFloat wonNodeWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + wonNodeWidth) / self.swimmingLift;
    
    
    CGFloat secretFarTime = wonNodeWidth / speed;
    
    if (_crossBasalHand > 0) {
        self.status = DetectsConstantOldRoleInsetDetailed;
        if (-1< touchLaw < 1) {
            
            if (_winWorldBusYou) { return;}
            _winWorldBusYou = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_crossBasalHand];
            [self performSelector:@selector(onlineStatus) withObject:nil afterDelay:_crossBasalHand - secretFarTime];
        }
    }
}
- (void)onlineStatus
{
    self.status = StoneSubProductBankSwappedBottom;
}

- (void)stormPhraseDatumHumanPermitted:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = StoneSubProductBankSwappedBottom;
    
    _today = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(millionApplyOneDiastolicRuleValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_today forMode:NSRunLoopCommonModes];
    
    
    sheLess(self);
    [UIView animateWithDuration:self.swimmingLift delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        condensed(self);
        self->_status = StoneSubProductBankSwappedBottom;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_today) {
            [self->_today invalidate];
            self->_today = nil;
        }
        
    }];
}

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

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


@end
