When creating constraints in code, you can get a lot of mileage out of wrapping common things like centre-view-in-other-view.