







#import "PlugRetUsedIcyCell.h"
#define mildDry(saw) __weak typeof(saw) weak##saw = saw;
#define followCap(saw) __strong typeof(saw) saw = weak##saw;

@interface PlugRetUsedIcyCell()



@property (nonatomic, strong) NSTimer *slope;

@property (nonatomic, assign) BOOL mixListEyeBend;

@end

@implementation PlugRetUsedIcyCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _bracketSize = CGSizeMake(200, 40);
        _storeHelpers = 4;
        _model = nil;
        _channelCount = 3;
        _useIts = 0;
        _selectCentrals = 0;
        _status = MinimumMightMaintainNativeFireReverting;
        _mixListEyeBend = NO;
        
    }
    return self;
}

- (void)affiliateOtherPatternsPolicyDryValue
{
    CGFloat cocoaToo = [[self.layer presentationLayer] frame].origin.x;
    CGFloat artSoloWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + artSoloWidth) / self.storeHelpers;
    
    
    CGFloat theIodineTime = artSoloWidth / speed;
    
    if (_selectCentrals > 0) {
        self.status = LogicalReadoutSiteInternalHumidityAscent;
        if (-1< cocoaToo < 1) {
            
            if (_mixListEyeBend) { return;}
            _mixListEyeBend = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_selectCentrals];
            [self performSelector:@selector(sphereStatus) withObject:nil afterDelay:_selectCentrals - theIodineTime];
        }
    }
}
- (void)sphereStatus
{
    self.status = AlphabetLeftStoneBypassedTabRestored;
}

- (void)animateTwistPinEvictionChatter:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = AlphabetLeftStoneBypassedTabRestored;
    
    _slope = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(affiliateOtherPatternsPolicyDryValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_slope forMode:NSRunLoopCommonModes];
    
    
    mildDry(self);
    [UIView animateWithDuration:self.storeHelpers delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        followCap(self);
        self->_status = AlphabetLeftStoneBypassedTabRestored;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_slope) {
            [self->_slope invalidate];
            self->_slope = nil;
        }
        
    }];
}

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

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


@end
