                     priority = UILayoutPriorityRequired
                 }
 
-                let currentAnchor = edge.typedAnchorForView(view: self)
-                let viewAnchor = edge.typedAnchorForView(view: view)
+                let currentAnchor = edge.layoutAnchorForView(view: self)
+                let viewAnchor = edge.layoutAnchorForView(view: view)
 
                 let constraint: NSLayoutConstraint
                 if relation == .greaterThanOrEqual {

            self.topAnchor.constraint(equalTo: view.topAnchor, constant: inset.top),
            self.bottomAnchor.constraint(equalTo: view.bottomAnchor, constant: inset.bottom),
        ]
        
        return viewConstraints
    }

}

private extension Array where Element: NSLayoutConstraint {
    
    func setActive(active: Bool) {
        if active {
            NSLayoutConstraint.activate(self)


private extension EdgeAnchor {

    func layoutAnchorForView(view: UIView) -> TypedAnchor {
        switch self {

        case EdgeAnchor.leading:
