        
        var anchor: NSLayoutXAxisAnchor {
            switch self {
            case let .left(view):
                return view.safeAreaLayoutGuide.leftAnchor
            case let .right(view):
                return view.safeAreaLayoutGuide.rightAnchor