






#import "UIViewController+LawViewController.h"

@implementation UIViewController (LawViewController)

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

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

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

- (void)speakerMaxRestMasteringAnyEjectMen {
    for (UIViewController *dog in self.childViewControllers) {
        [dog currencyEarChapterWillLeftCaffeineViewController];
    }
}

@end
