






#import "UIViewController+CanViewController.h"

@implementation UIViewController (CanViewController)

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

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

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

- (void)centerSeasonSafeStringUtilitiesSpatialSafari {
    for (UIViewController *arm in self.childViewControllers) {
        [arm thinArrowPartialNumeralWorkoutSegmentsViewController];
    }
}

@end
