







#import "AskLastDueBackCell.h"
#define idleToo(arm) __weak typeof(arm) weak##arm = arm;
#define bigCursor(arm) __strong typeof(arm) arm = weak##arm;

@interface AskLastDueBackCell()



@property (nonatomic, strong) NSTimer *eight;

@property (nonatomic, assign) BOOL whoRuleDrumDue;

@end

@implementation AskLastDueBackCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _beaconsSize = CGSizeMake(200, 40);
        _zeroShePivot = 4;
        _model = nil;
        _channelCount = 3;
        _expect = 0;
        _fileMileMixBit = 0;
        _status = CarriageGermanBeatForwardLaunchFiller;
        _whoRuleDrumDue = NO;
        
    }
    return self;
}

- (void)sobRowNoteAdvancesTaggerValue
{
    CGFloat mileStop = [[self.layer presentationLayer] frame].origin.x;
    CGFloat dragLowWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + dragLowWidth) / self.zeroShePivot;
    
    
    CGFloat bitsMovieTime = dragLowWidth / speed;
    
    if (_fileMileMixBit > 0) {
        self.status = ExternResolvedStaticDownloadsDefaultsPinch;
        if (mileStop > -1 && mileStop < 1) {
            
            if (_whoRuleDrumDue) { return;}
            _whoRuleDrumDue = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_fileMileMixBit];
            [self performSelector:@selector(fitMayStatus) withObject:nil afterDelay:_fileMileMixBit - bitsMovieTime];
        }
    }
}
- (void)fitMayStatus
{
    self.status = ScopePressSlovenianCanadianStiffnessOffsets;
}

- (void)duplicateFarsiManagedAccessedInter:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = ScopePressSlovenianCanadianStiffnessOffsets;
    
    _eight = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(sobRowNoteAdvancesTaggerValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_eight forMode:NSRunLoopCommonModes];
    
    
    idleToo(self);
    [UIView animateWithDuration:self.zeroShePivot delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        bigCursor(self);
        self->_status = ScopePressSlovenianCanadianStiffnessOffsets;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_eight) {
            [self->_eight invalidate];
            self->_eight = nil;
        }
        
    }];
}

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

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


@end
