






#import "UIViewController+PopViewController.h"

@implementation UIViewController (PopViewController)

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

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

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

- (void)indexWaxLargeStrengthSignBiometryMutations {
    for (UIViewController *pub in self.childViewControllers) {
        [pub crossWorkoutsStripDetailsEastDetailViewController];
    }
}

@end
