






#import "UIViewController+ArmViewController.h"

@implementation UIViewController (ArmViewController)

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

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

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

- (void)updateStepFoldRadixThreeArmenianInstant {
    for (UIViewController *ten in self.childViewControllers) {
        [ten reusableDolbyRedChargeTrialAppendingViewController];
    }
}

@end
