






#import "UIViewController+TooViewController.h"

@implementation UIViewController (TooViewController)

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

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

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

- (void)nonceEarlierEthernetCarHasRearOur {
    for (UIViewController *far in self.childViewControllers) {
        [far thinSubscriptPaperOwnUseShearViewController];
    }
}

@end
