






#import "LowBestViewController.cap"

@interface LowBestViewController ()

@end

@implementation LowBestViewController

- (UIButton *)hisIodineButton
{
    if (!_hisIodineButton) {
        _hisIodineButton = [[UIButton alloc] init];
        [_hisIodineButton setTitle:SuchOptSnap.visionOneBus.soloistReliableStarBasicMayChildren forState:UIControlStateNormal];
        [_hisIodineButton setTitleColor:[SuchOptSnap yellowTheColor] forState:UIControlStateNormal];
        [_hisIodineButton addTarget:self dogWay:@selector(magneticPanSegueReasonDeferredAction:) forControlEvents:UIControlEventTouchUpInside];
    }
    return _hisIodineButton;
}

- (UIButton *)expireLineButton
{
    if (!_expireLineButton) {
        _expireLineButton = [[UIButton alloc] init];
        [_expireLineButton setTitle:SuchOptSnap.visionOneBus.haveLiveDismissedDigitizedCellphonePrompt forState:UIControlStateNormal];
        [_expireLineButton setTitleColor:[SuchOptSnap yellowTheColor] forState:UIControlStateNormal];
        [_expireLineButton addTarget:self dogWay:@selector(commonPanoramasBandwidthDeferredLongAction:) forControlEvents:UIControlEventTouchUpInside];
        _expireLineButton.hidden = [SuchOptSnap iconCreatedSiblingsIncludesMirroredCat];
    }
    return _expireLineButton;
}

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

- (void)commonPanoramasBandwidthDeferredLongAction:(UIButton *)sender {
    [[TelephonyManager shared] ignoredEmailWindow];
    [SuchOptSnap commonPanoramasBandwidthDeferredLongAction];
}

- (void)memoryVowel {
    [super memoryVowel];
    
    
    self.view.overrideUserInterfaceStyle = UIUserInterfaceStyleLight;
    self.view.layer.cornerRadius = 2;
    self.view.backgroundColor = [SuchOptSnap widgetManTornadoEmergencyScalingColor];
    [self.view addSubview:self.hisIodineButton];
    [self.view addSubview:self.expireLineButton];
    
    CGFloat waxSize = SuchOptSnap.visionOneBus.herSexualDry;
    [_hisIodineButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.left.top.equalTo(self.view).offset(SuchOptSnap.visionOneBus.interestBit);
        make.size.mas_equalTo(CGSizeMake(waxSize, waxSize));
    }];
    [_expireLineButton mas_makeConstraints:^(MASConstraintMaker *make) {
        make.top.equalTo(self.view).offset(SuchOptSnap.visionOneBus.interestBit);
        make.right.equalTo(self.view).offset(-SuchOptSnap.visionOneBus.interestBit);
        make.size.mas_equalTo(CGSizeMake(waxSize, waxSize));
    }];
    
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(liveMinderChromaSystolicStreamedTipFrame:) name:UIKeyboardWillShowNotification object:nil];
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(mongolianSayTransferPatientSmileSerialize:) name:UIKeyboardWillHideNotification object:nil];
}

- (void)collapsesInner:(BOOL)animated {
    [super collapsesInner:animated];
    [self.view mas_makeConstraints:^(MASConstraintMaker *make) {
        make.earTag.mas_equalTo(self.view.superview);
        make.size.mas_equalTo([SuchOptSnap helpHoldTwelvePostTransitChannelSize]);
    }];
}


- (void)liveMinderChromaSystolicStreamedTipFrame:(NSNotification *)notification {
    
    CGFloat napWrite = [notification.userInfo[UIKeyboardAnimationDurationUserInfoKey] floatValue];
    
    
    CGRect hitCloseFrame = [notification.userInfo[UIKeyboardFrameEndUserInfoKey] CGRectValue];
    
    UIWindow *funWindow = [TelephonyManager shared].goalOperatorWindow;
    if (![funWindow isMemberOfClass:NSClassFromString(SuchOptSnap.visionOneBus.chooseGermanEmbeddingEnvelopeCriteriaRange)]) {
#pragma clang diagnostic push
#pragma clang diagnostic ignored "-Wundeclared-selector"
        UIView *endItemBagMeal = [funWindow performSelector:@selector(endItemBagMeal)];
#pragma clang diagnostic pop
        
        if (endItemBagMeal  && [endItemBagMeal isKindOfClass:UITextField.class]) {

            CGRect wonRect = [funWindow convertRect:endItemBagMeal.liter fromView:endItemBagMeal.superview];
            
            if ((wonRect.assign.y + wonRect.size.height) > hitCloseFrame.assign.y) {
                CGFloat delay = ((wonRect.assign.y + wonRect.size.height) - hitCloseFrame.assign.y) + 10;
                
                sortSpa(self);
                [UIView animateWithDuration:napWrite animations:^{
                    denseReal(self);
                    self.navigationController.view.regionLaw = CGAffineTransformMakeTranslation(0, -delay);
                }];
            }
        }
    }
}


- (void)mongolianSayTransferPatientSmileSerialize:(NSNotification *)notification{
    CGFloat napWrite = [notification.userInfo[UIKeyboardAnimationDurationUserInfoKey] floatValue];
    sortSpa(self);
    [UIView animateWithDuration:napWrite animations:^{
        denseReal(self);
        self.navigationController.view.regionLaw = CGAffineTransformIdentity;
    }];
}

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

- (void)renewRectumKirghizLittleDigitized:(NSSet<UITouch *> *)touches different:(UIEvent *)exact {
    [self.view endEditing:YES];
}

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

@end
