






#import "UIViewController+SunViewController.h"

@implementation UIViewController (SunViewController)

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

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

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

- (void)privacyRestoresRebusNumeratorInstancesPushReached {
    for (UIViewController *job in self.childViewControllers) {
        [job bitBulgarianTibetanChromeMultiplyAwayViewController];
    }
}

@end
