







#import "AssumeGramEastCell.h"
#define feature(opt) __weak typeof(opt) weak##opt = opt;
#define rowAttach(opt) __strong typeof(opt) opt = weak##opt;

@interface AssumeGramEastCell()



@property (nonatomic, strong) NSTimer *sleet;

@property (nonatomic, assign) BOOL cupRelayManCan;

@end

@implementation AssumeGramEastCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _stoppedSize = CGSizeMake(200, 40);
        _tenCubeNonce = 4;
        _model = nil;
        _channelCount = 3;
        _weekly = 0;
        _arabicGeometry = 0;
        _status = CopperPreciseArrayDisablesStepperBusy;
        _cupRelayManCan = NO;
        
    }
    return self;
}

- (void)unsafeCharacterHerUnknownExtentsValue
{
    CGFloat areStyle = [[self.layer presentationLayer] frame].origin.x;
    CGFloat patternWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + patternWidth) / self.tenCubeNonce;
    
    
    CGFloat bodyTwistTime = patternWidth / speed;
    
    if (_arabicGeometry > 0) {
        self.status = InviteReportLearnRestThumbHow;
        if (-1< areStyle < 1) {
            
            if (_cupRelayManCan) { return;}
            _cupRelayManCan = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_arabicGeometry];
            [self performSelector:@selector(packetStatus) withObject:nil afterDelay:_arabicGeometry - bodyTwistTime];
        }
    }
}
- (void)packetStatus
{
    self.status = TogglePositionsChargeLeapMiterClose;
}

- (void)layeringUserStaticRecognizeWeek:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = TogglePositionsChargeLeapMiterClose;
    
    _sleet = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(unsafeCharacterHerUnknownExtentsValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_sleet forMode:NSRunLoopCommonModes];
    
    
    feature(self);
    [UIView animateWithDuration:self.tenCubeNonce delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        rowAttach(self);
        self->_status = TogglePositionsChargeLeapMiterClose;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_sleet) {
            [self->_sleet invalidate];
            self->_sleet = nil;
        }
        
    }];
}

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

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


@end
