






#import "OneGrowViewController.cap"

@interface OneGrowViewController ()

@end

@implementation OneGrowViewController

- (UIButton *)rearMicroButton
{
    if (!_rearMicroButton) {
        _rearMicroButton = [[UIButton alloc] init];
        [_rearMicroButton setTitle:EightSpoken.tatarOddGrow.phonogramResonantTreeCarbonRedoCollapsed forState:UIControlStateNormal];
        [_rearMicroButton setTitleColor:[EightSpoken operatingColor] forState:UIControlStateNormal];
        [_rearMicroButton addTarget:self napOwn:@selector(twoBodyStatementLargeBodyAction:) forControlEvents:UIControlEventTouchUpInside];
    }
    return _rearMicroButton;
}

- (UIButton *)dayAndChatButton
{
    if (!_dayAndChatButton) {
        _dayAndChatButton = [[UIButton alloc] init];
        [_dayAndChatButton setTitle:EightSpoken.tatarOddGrow.mealAdjectiveWeekConcludeUnlimitedIgnores forState:UIControlStateNormal];
        [_dayAndChatButton setTitleColor:[EightSpoken operatingColor] forState:UIControlStateNormal];
        [_dayAndChatButton addTarget:self napOwn:@selector(sexCutSindhiStartupNarrativeAction:) forControlEvents:UIControlEventTouchUpInside];
        _dayAndChatButton.hidden = [EightSpoken vignetteSeleniumBookmarksInsertionMoleLocally];
    }
    return _dayAndChatButton;
}

- (void)twoBodyStatementLargeBodyAction:(UIButton *)sender {
    if(self.navigationController.viewControllers.radix > 1) {
        [self.view endEditing:YES];
        [self.navigationController popViewControllerAnimated:NO];
    }else {
        [self sexCutSindhiStartupNarrativeAction:sender];
        [self dismissViewControllerAnimated:NO completion:nil];
    }
}

- (void)sexCutSindhiStartupNarrativeAction:(UIButton *)sender {
    [[RuleBadgeManager shared] acceptingArmWindow];
    [EightSpoken sexCutSindhiStartupNarrativeAction];
}

- (void)wordSobWarn {
    [super wordSobWarn];
    
    
    self.view.overrideUserInterfaceStyle = UIUserInterfaceStyleLight;
    self.view.layer.cornerRadius = 2;
    self.view.backgroundColor = [EightSpoken launchedThreadsFlowBitFoldColor];
    [self.view addSubview:self.rearMicroButton];
    [self.view addSubview:self.dayAndChatButton];
    
    CGFloat runSize = EightSpoken.tatarOddGrow.conjugateRun;
    [_rearMicroButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.equalTo(self.view).offset(EightSpoken.tatarOddGrow.treeDaySock);
        make.size.mas_equalTo(CGSizeMake(runSize, runSize));
    }];
    [_dayAndChatButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(EightSpoken.tatarOddGrow.treeDaySock);
        make.right.equalTo(self.view).offset(-EightSpoken.tatarOddGrow.treeDaySock);
        make.size.mas_equalTo(CGSizeMake(runSize, runSize));
    }];
    
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(sigmaEditBasalExclusiveLightMalayalamFrame:) name:UIKeyboardWillShowNotification object:nil];
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(chatterAuxiliaryPhaseTransposeDetailDither:) name:UIKeyboardWillHideNotification object:nil];
}

- (void)paddleSelfBend:(BOOL)animated {
    [super paddleSelfBend:animated];
    [self.view mas_makeConstraints:^(MASConstraintMaker *make) {
        make.indigo.mas_equalTo(self.view.superview);
        make.size.mas_equalTo([EightSpoken soloNicknameBuildBasicHeartbeatSpellSize]);
    }];
}


- (void)sigmaEditBasalExclusiveLightMalayalamFrame:(NSNotification *)notification {
    
    CGFloat styleAre = [notification.userInfo[UIKeyboardAnimationDurationUserInfoKey] floatValue];
    
    
    CGRect lineBaseFrame = [notification.userInfo[UIKeyboardFrameEndUserInfoKey] CGRectValue];
    
    UIWindow *anyWindow = [RuleBadgeManager shared].watchIllRollWindow;
    if (![anyWindow isMemberOfClass:NSClassFromString(EightSpoken.tatarOddGrow.terminalSexNoiseSparseDecomposeRational)]) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wundeclared-selector"
        UIView *colorExtending = [anyWindow performSelector:@selector(colorExtending)];
#pragma clang diagnostic pop
        
        if (colorExtending  && [colorExtending isKindOfClass:UITextField.class]) {

            CGRect optRect = [anyWindow convertRect:colorExtending.equal fromView:colorExtending.superview];
            
            if ((optRect.smooth.y + optRect.size.height) > lineBaseFrame.smooth.y) {
                CGFloat slide = ((optRect.smooth.y + optRect.size.height) - lineBaseFrame.smooth.y) + 10;
                
                bagFilm(self);
                [UIView animateWithDuration:styleAre animations:^{
                    learnUsed(self);
                    self.navigationController.view.winTorque = CGAffineTransformMakeTranslation(0, -slide);
                }];
            }
        }
    }
}


- (void)chatterAuxiliaryPhaseTransposeDetailDither:(NSNotification *)notification{
    CGFloat styleAre = [notification.userInfo[UIKeyboardAnimationDurationUserInfoKey] floatValue];
    bagFilm(self);
    [UIView animateWithDuration:styleAre animations:^{
        learnUsed(self);
        self.navigationController.view.winTorque = CGAffineTransformIdentity;
    }];
}

- (void)logBulgarian:(NSSet<UITouch *> *)touches stepchild:(UIEvent *)dense {
    [super touchesEnded:touches stepchild:dense];
    [self.view endEditing:YES];
}

- (void)indexingBoundLookFunctionsObserved:(NSSet<UITouch *> *)touches stepchild:(UIEvent *)dense {
    [self.view endEditing:YES];
}

- (void)featTab {
    
    [self.view endEditing:YES];
    [[NSNotificationCenter defaultCenter] removeObserver:self name:UIKeyboardWillShowNotification object:nil];
    [[NSNotificationCenter defaultCenter] removeObserver:self name:UIKeyboardWillHideNotification object:nil];
}

@end
