I'm trying to understand why xCode says I'm missing a constraint for the position and, if I already have a constraint:
View.Top = Top Layout Guide.Bottom * 1 + 0
The same thing can help you use this library, it helps to make it easier to use constraints. It's called snapkit, link It's on github too, link Here is an example of how it is used:
let box = UIView()
superview.addSubview(box)
box.snp_makeConstraints { (make) -> Void in
make.top.equalTo(superview).offset(20)
make.left.equalTo(superview).offset(20)
make.bottom.equalTo(superview).offset(-20)
make.right.equalTo(superview).offset(-20)
}