







#import "RankOuncesForkCell.h"
#define vitamin(own) __weak typeof(own) weak##own = own;
#define peakSlice(own) __strong typeof(own) own = weak##own;

@interface RankOuncesForkCell()



@property (nonatomic, strong) NSTimer *spell;

@property (nonatomic, assign) BOOL panoramaTagger;

@end

@implementation RankOuncesForkCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _moreKeySize = CGSizeMake(200, 40);
        _ironRatioOne = 4;
        _model = nil;
        _channelCount = 3;
        _binIcy = 0;
        _ampereBookNeed = 0;
        _status = LibraryLinkageHitNotifiesTallTracking;
        _panoramaTagger = NO;
        
    }
    return self;
}

- (void)boostSmileIntensityWakeSevenValue
{
    CGFloat personal = [[self.layer presentationLayer] frame].origin.x;
    CGFloat moleDueWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + moleDueWidth) / self.ironRatioOne;
    
    
    CGFloat earInlandTime = moleDueWidth / speed;
    
    if (_ampereBookNeed > 0) {
        self.status = AndButArteryExponentAlphaNumber;
        if (-1< personal < 1) {
            
            if (_panoramaTagger) { return;}
            _panoramaTagger = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_ampereBookNeed];
            [self performSelector:@selector(hitItsStatus) withObject:nil afterDelay:_ampereBookNeed - earInlandTime];
        }
    }
}
- (void)hitItsStatus
{
    self.status = SoloMenuTrapBayerPitchAlert;
}

- (void)ciphersQueryFlushedCopyrightTrusted:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = SoloMenuTrapBayerPitchAlert;
    
    _spell = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(boostSmileIntensityWakeSevenValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_spell forMode:NSRunLoopCommonModes];
    
    
    vitamin(self);
    [UIView animateWithDuration:self.ironRatioOne delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        peakSlice(self);
        self->_status = SoloMenuTrapBayerPitchAlert;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_spell) {
            [self->_spell invalidate];
            self->_spell = nil;
        }
        
    }];
}

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

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


@end
