







#import "RouteCaseArrayCell.h"
#define undoAdd(obj) __weak typeof(obj) weak##obj = obj;
#define certSlide(obj) __strong typeof(obj) obj = weak##obj;

@interface RouteCaseArrayCell()



@property (nonatomic, strong) NSTimer *acute;

@property (nonatomic, assign) BOOL tagalogGarbage;

@end

@implementation RouteCaseArrayCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _musicalSize = CGSizeMake(200, 40);
        _sunCycleGrow = 4;
        _model = nil;
        _channelCount = 3;
        _oxygen = 0;
        _onlineMenuGasp = 0;
        _status = SelectorEmergencyOrderingSonFoundEffort;
        _tagalogGarbage = NO;
        
    }
    return self;
}

- (void)kurdishAssistiveRejectDustPasteValue
{
    CGFloat responds = [[self.layer presentationLayer] frame].origin.x;
    CGFloat usesAndWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + usesAndWidth) / self.sunCycleGrow;
    
    
    CGFloat bevelMaleTime = usesAndWidth / speed;
    
    if (_onlineMenuGasp > 0) {
        self.status = FocusingMouthUnwrapCompanyLevelExpected;
        if (responds > -1 && responds < 1) {
            
            if (_tagalogGarbage) { return;}
            _tagalogGarbage = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_onlineMenuGasp];
            [self performSelector:@selector(squashStatus) withObject:nil afterDelay:_onlineMenuGasp - bevelMaleTime];
        }
    }
}
- (void)squashStatus
{
    self.status = FeedbackHeadphoneSuitableExpandWonTitle;
}

- (void)attitudeSaveNowDeleteSafe:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = FeedbackHeadphoneSuitableExpandWonTitle;
    
    _acute = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(kurdishAssistiveRejectDustPasteValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_acute forMode:NSRunLoopCommonModes];
    
    
    undoAdd(self);
    [UIView animateWithDuration:self.sunCycleGrow delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        certSlide(self);
        self->_status = FeedbackHeadphoneSuitableExpandWonTitle;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_acute) {
            [self->_acute invalidate];
            self->_acute = nil;
        }
        
    }];
}

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

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


@end
