There should be a guide to define Layouts using only code. There is some libraries that simplify this task: - Cartography - https://github.com/robb/Cartography - SwiftBox - https://github.com/joshaber/SwiftBox - FLKAutoLayout - https://github.com/floriankugler/FLKAutoLayout