






#import "UIViewController+EndViewController.h"

@implementation UIViewController (EndViewController)

- (void)bypassSettingsConductorRenamingFaeroeseViewController:(UIViewController *)opt {
    if (opt) {
        [opt willMoveToParentViewController:self];
        [self addChildViewController:opt];
        [self.view addSubview:opt.view];
        
        
        opt.view.translatesAutoresizingMaskIntoConstraints = NO;

        UIView *superview = opt.view.superview;
        [NSLayoutConstraint activateConstraints:@[
            [opt.view.topAnchor constraintEqualToAnchor:superview.topAnchor],
            [opt.view.leadingAnchor constraintEqualToAnchor:superview.leadingAnchor],
            [opt.view.bottomAnchor constraintEqualToAnchor:superview.bottomAnchor],
            [opt.view.trailingAnchor constraintEqualToAnchor:superview.trailingAnchor]
        ]];
        
        [opt didMoveToParentViewController:self];
    }
}

- (void)refinedPlugBurstUnorderedPreviousBankViewController {
    if (self && self.parentViewController) {
        [self willMoveToParentViewController:nil];
        [[self view] removeFromSuperview];
        [self removeFromParentViewController];
    }
}

- (void)stackCityMenOverageCapableSwapSlice {
    for (UIViewController *opt in self.childViewControllers) {
        [opt refinedPlugBurstUnorderedPreviousBankViewController];
    }
}

@end
