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

    
    // ***
}




// 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
        for v in contentContainerView.subviews { v.removeFromSuperview() }
        contentContainerView.addSubview(vc.view)
        vc.view.pinToParentView()
        contentViewController.removeFromParentViewController()
