







#import "FourCharPanAndCell.h"
#define maxMill(way) __weak typeof(way) weak##way = way;
#define tokenFail(way) __strong typeof(way) way = weak##way;

@interface FourCharPanAndCell()



@property (nonatomic, strong) NSTimer *never;

@property (nonatomic, assign) BOOL useHowRowWhite;

@end

@implementation FourCharPanAndCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _reorderSize = CGSizeMake(200, 40);
        _sumWaxAuthor = 4;
        _model = nil;
        _channelCount = 3;
        _winEgg = 0;
        _landscapeBlend = 0;
        _status = ProteinTiedSemanticRefinedEffortResponses;
        _useHowRowWhite = NO;
        
    }
    return self;
}

- (void)priorPowerSixteenFlexibleChildrenValue
{
    CGFloat buildWet = [[self.layer presentationLayer] frame].origin.x;
    CGFloat netPageWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + netPageWidth) / self.sumWaxAuthor;
    
    
    CGFloat floatPlayTime = netPageWidth / speed;
    
    if (_landscapeBlend > 0) {
        self.status = OceanSunNetFoodDrizzleValidity;
        if (-1< buildWet < 1) {
            
            if (_useHowRowWhite) { return;}
            _useHowRowWhite = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_landscapeBlend];
            [self performSelector:@selector(anyOneStatus) withObject:nil afterDelay:_landscapeBlend - floatPlayTime];
        }
    }
}
- (void)anyOneStatus
{
    self.status = WarnVitaminOverageUnpluggedPrintZip;
}

- (void)insertingCoercionPermuteSchoolManagers:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = WarnVitaminOverageUnpluggedPrintZip;
    
    _never = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(priorPowerSixteenFlexibleChildrenValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_never forMode:NSRunLoopCommonModes];
    
    
    maxMill(self);
    [UIView animateWithDuration:self.sumWaxAuthor delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        tokenFail(self);
        self->_status = WarnVitaminOverageUnpluggedPrintZip;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_never) {
            [self->_never invalidate];
            self->_never = nil;
        }
        
    }];
}

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

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


@end
