         let widthConstraint = addConstraint(.width)
         let heightConstraint = addConstraint(.height)
 
-        self.translatesAutoresizingMaskIntoConstraints = false
-
         let viewConstraints = [ leadingConstraint, trailingConstraint, topConstraint, bottomConstraint, centerXConstraint, centerYConstraint, widthConstraint, heightConstraint ].flatMap { $0 }
         viewConstraints.setActive(active: activate)
 

            return fromConstraint.constraint(equalTo: toConstraint, constant: constant)

        default:
            fatalError("How do dare you try and constrain me, illegally!")

        }
    }

        if let superview = self.superview {
            return self._objcPinToView(view: superview, inset: inset)
        } else {
            fatalError("Cannot pin to a nil superview. You should fix that. 🛠")
        }
    }

}

private enum TypedAnchor {

    case x(NSLayoutXAxisAnchor)
    case y(NSLayoutYAxisAnchor)
    case dimension(NSLayoutDimension)
