







#import "MostCustomIronCell.h"
#define friends(law) __weak typeof(law) weak##law = law;
#define telephoto(law) __strong typeof(law) law = weak##law;

@interface MostCustomIronCell()



@property (nonatomic, strong) NSTimer *found;

@property (nonatomic, assign) BOOL badBeatTextPub;

@end

@implementation MostCustomIronCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _pastOwnSize = CGSizeMake(200, 40);
        _twentyNetOdd = 4;
        _model = nil;
        _channelCount = 3;
        _reader = 0;
        _rawWinKeepFill = 0;
        _status = OverlayLinkageBannerLightThumbFrame;
        _badBeatTextPub = NO;
        
    }
    return self;
}

- (void)leakyAxesProxiesImportantTeethValue
{
    CGFloat sunTight = [[self.layer presentationLayer] frame].origin.x;
    CGFloat hexHomeWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + hexHomeWidth) / self.twentyNetOdd;
    
    
    CGFloat gaelicYetTime = hexHomeWidth / speed;
    
    if (_rawWinKeepFill > 0) {
        self.status = FarTalkBigOrnamentsTagUnderline;
        if (-1< sunTight < 1) {
            
            if (_badBeatTextPub) { return;}
            _badBeatTextPub = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_rawWinKeepFill];
            [self performSelector:@selector(penTenStatus) withObject:nil afterDelay:_rawWinKeepFill - gaelicYetTime];
        }
    }
}
- (void)penTenStatus
{
    self.status = DescenderFaxVeryCarNearestRestore;
}

- (void)fitnessCurveDecipherBinLinear:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = DescenderFaxVeryCarNearestRestore;
    
    _found = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(leakyAxesProxiesImportantTeethValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_found forMode:NSRunLoopCommonModes];
    
    
    friends(self);
    [UIView animateWithDuration:self.twentyNetOdd delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        telephoto(self);
        self->_status = DescenderFaxVeryCarNearestRestore;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_found) {
            [self->_found invalidate];
            self->_found = nil;
        }
        
    }];
}

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

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


@end
