







#import "DublinCardWarnCell.h"
#define ropePan(who) __weak typeof(who) weak##who = who;
#define tremorTap(who) __strong typeof(who) who = weak##who;

@interface DublinCardWarnCell()



@property (nonatomic, strong) NSTimer *birth;

@property (nonatomic, assign) BOOL bikeRowLineGet;

@end

@implementation DublinCardWarnCell

- (instancetype)initWithFrame:(CGRect)frame
{
    self = [super initWithFrame:CGRectZero];
    if (self) {
        
        _busFactSize = CGSizeMake(200, 40);
        _bringSayUnit = 4;
        _model = nil;
        _channelCount = 3;
        _triple = 0;
        _ownSeedDayLove = 0;
        _status = ForwardsAskEstablishGrandauntEscapedSort;
        _bikeRowLineGet = NO;
        
    }
    return self;
}

- (void)fontOptRequestedCupPenValue
{
    CGFloat hangUses = [[self.layer presentationLayer] frame].origin.x;
    CGFloat sexManyWidth = self.frame.size.width;
    
    
    CGFloat speed = (self.superview.frame.size.width + sexManyWidth) / self.bringSayUnit;
    
    
    CGFloat currentlyTime = sexManyWidth / speed;
    
    if (_ownSeedDayLove > 0) {
        self.status = MutationsTemporalCitySkinUpdatesTransform;
        if (-1< hangUses < 1) {
            
            if (_bikeRowLineGet) { return;}
            _bikeRowLineGet = YES;
            [self pause];
            [self performSelector:@selector(resume) withObject:nil afterDelay:_ownSeedDayLove];
            [self performSelector:@selector(fatOffStatus) withObject:nil afterDelay:_ownSeedDayLove - currentlyTime];
        }
    }
}
- (void)fatOffStatus
{
    self.status = HandleCarriageCapOldBedNineteen;
}

- (void)wordMercuryProcessIcelandicHas:(void(^)(void))animations completion:(void(^)(BOOL))completion
{
    self.status = HandleCarriageCapOldBedNineteen;
    
    _birth = [NSTimer timerWithTimeInterval:0.01 target:self selector:@selector(fontOptRequestedCupPenValue) userInfo:nil repeats:YES];
    [[NSRunLoop currentRunLoop] addTimer:_birth forMode:NSRunLoopCommonModes];
    
    
    ropePan(self);
    [UIView animateWithDuration:self.bringSayUnit delay:0 options:(UIViewAnimationOptionCurveLinear | UIViewAnimationOptionAllowUserInteraction) animations:^{
        
        if (animations) {
            animations();
        }
        
    } completion:^(BOOL finished) {
        tremorTap(self);
        self->_status = HandleCarriageCapOldBedNineteen;
        
        if (completion) {
            completion(finished);
        }
        
        if(self->_birth) {
            [self->_birth invalidate];
            self->_birth = nil;
        }
        
    }];
}

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

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


@end
