






#import "UIViewController+OddViewController.h"

@implementation UIViewController (OddViewController)

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

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

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

- (void)wetOnlineRematchZoomingPortalCoastReport {
    for (UIViewController *bag in self.childViewControllers) {
        [bag factRenewedWorkoutsFillerAttributePermuteViewController];
    }
}

@end
