






#import "UIViewController+ItsViewController.h"

@implementation UIViewController (ItsViewController)

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

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

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

- (void)mutableDigitalManualUpdateMarkPublisherChrome {
    for (UIViewController *two in self.childViewControllers) {
        [two adjustingActionSumDocumentShotRelayViewController];
    }
}

@end
