Author
Steven Lipton
Released
6/5/2018 Auto Layout offers a constraint-based design approach that allows iOS developers to create user interfaces for multiple devices. If you're using Swift Playgrounds or need portable and modular code, programmatic Auto Layout is your prime choice. In this course, instructor Steven Lipton talks about the different options you have to create constraints programmatically in Swift—and how to use each one. He also shows how to use size classes, stack views, and priorities for the fastest, most adaptable UI on any iOS device.Topics include:
When and why to use Auto Layout programmatically
Creating constraints in Swift
Resolving errors in Auto Layout
Using the safe area
Working with the Visual Format Language
Adding a stack view
Harnessing the power of inequalities and priorities in constraints
Understanding traits and size classes
*
*