     
     // ***
 }
-
-
-
-
-// MARK: - Array exntesion
-private extension Array {
-    private func each(c: (Element) -> Void) {
-        for item in self {
-            c(item)
-        }
-    }
-}

        contentViewController.willMoveToParentViewController(nil)
        addChildViewController(vc)
        vc.view.frame = contentContainerView.frame
        contentContainerView.subviews.each { $0.removeFromSuperview() }
        contentContainerView.addSubview(vc.view)
        vc.view.pinToParentView()
        contentViewController.removeFromParentViewController()

        drawerViewController.willMoveToParentViewController(nil)
        addChildViewController(vc)
        vc.view.frame = drawerContainerView.frame
        for v in drawerContainerView.subviews { v.removeFromSuperview() }
        drawerContainerView.addSubview(vc.view)
        vc.view.pinToParentView()
        drawerViewController.removeFromParentViewController()
