 public extension UIView {
 
     static func setTranslateAutoresizingMasks(views: [UIView], on: Bool) {
-        for view in views {
-            view.translatesAutoresizingMaskIntoConstraints = on
+        views.forEach {
+            $0.translatesAutoresizingMaskIntoConstraints = on
         }
     }
 


    @discardableResult
    func pinToView(_ view: UIView, edges: [EdgeAnchor] = EdgeAnchor.allSides, relation: NSLayoutRelation = .equal, activate: Bool = true) -> [NSLayoutConstraint] {
        let addConstraint: (_ edge: EdgeAnchor) -> NSLayoutConstraint? = { edge in
            if edges.contains(edge) {
                let constant: CGFloat

            return view.heightAnchor

        default:
            fatalError("There is an unhandled size. Have you considered inventing another dimension? 📐")

        }
    }
