Learn the basics of Auto Layout, get familiar with the various Xcode tools at your disposal, and see how to save yourself time and frustration with your layout tasks.
Autoresizing masks define the relationship between a view and its superview. Learn how autoresizing masks work, and when to use them.
Stack Views are powerful layout tools that let you create simple to extremely complex layouts, in a minimum of time.
Learn how various UI elements can have a preferred size, based on the content, and how this affects your layouts.
Nesting Stack Views
Stack views can contain other stack views, which lets you create complex, flexible layouts. You’ll learn how to make nested stack views play nicely with each other.
Constraints are the “building blocks” of Auto Layout. Learn what they are, and when to choose them over autoresizing masks or stack views.
There are several ways to create constraints in Xcode — explore the most common ways and see how constraints affect your layouts.
Now that you’ve created constraints, learn how to edit them to add more complex arrangements — or even delete constraints altogether.
Recap what you’ve learned in this series, check out a few Auto Layout tips, and get a preview of the Mastering Auto Layout series!