







#import "TreeGallonMainCell.h"
#define theBand(son) __weak typeof(son) weak##son = son;
#define illReturn(son) __strong typeof(son) son = weak##son;

@interface TreeGallonMainCell()



@property (nonatomic, strong) NSTimer *visit;

@property (nonatomic, assign) BOOL algorithmBelow;

@end

@implementation TreeGallonMainCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _fetchedSize = CGSizeMake(200, 40);
        _wasQueueOnce = 4;
        _model = nil;
        _channelCount = 3;
        _hebrew = 0;
        _hisDarkKeepBox = 0;
        _status = TransientSettlingCapableHandlerLinkageFlipped;
        _algorithmBelow = NO;
        
    }
    return self;
}

- (void)databasesFaeroeseMinimalFlexibleManualValue
{
    CGFloat binThumb = [[self.layer presentationLayer] frame].origin.x;
    CGFloat busFaceWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + busFaceWidth) / self.wasQueueOnce;
    
    
    CGFloat beaconAirTime = busFaceWidth / speed;
    
    if (_hisDarkKeepBox > 0) {
        self.status = IllRenewFrequencyTabularMissingTheme;
        if (binThumb > -1 && binThumb < 1) {
            
            if (_algorithmBelow) { return;}
            _algorithmBelow = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_hisDarkKeepBox];
            [self performSelector:@selector(hitMixStatus) withObject:nil afterDelay:_hisDarkKeepBox - beaconAirTime];
        }
    }
}
- (void)hitMixStatus
{
    self.status = RopeLocalizesRetryEyeSongPrintable;
}

- (void)lessGrammarBoldfaceSayRace:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = RopeLocalizesRetryEyeSongPrintable;
    
    _visit = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(databasesFaeroeseMinimalFlexibleManualValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_visit forMode:NSRunLoopCommonModes];
    
    
    theBand(self);
    [UIView animateWithDuration:self.wasQueueOnce delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        illReturn(self);
        self->_status = RopeLocalizesRetryEyeSongPrintable;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_visit) {
            [self->_visit invalidate];
            self->_visit = nil;
        }
        
    }];
}

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

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


@end
