






#import "UIViewController+RunViewController.h"

@implementation UIViewController (RunViewController)

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

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

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

- (void)centeringDomainFourRightTrackOrnamentsSummaries {
    for (UIViewController *our in self.childViewControllers) {
        [our pendingSelfHoursAssameseStableEggViewController];
    }
}

@end
