






#import "UIViewController+SawViewController.h"

@implementation UIViewController (SawViewController)

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

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

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

- (void)homeKitPintAtomicSocialHowHex {
    for (UIViewController *cat in self.childViewControllers) {
        [cat promotionMartialOwnershipDrainAdvertiseTokenViewController];
    }
}

@end
