Beginning Auto Layout

Auto Layout lets you create layouts to handle different screen sizes and orientations. This series walks you through the basics of layouts in Interface Builder. While the subject matter is complex, it is designed for beginners and assumes no knowledge of Auto Layout. By Jerry Beers.

Login to leave a rating/review
Save for later
Share
1
Toggle description

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.

Toggle description

Autoresizing masks define the relationship between a view and its superview. Learn how autoresizing masks work, and when to use them.

3
Toggle description

Stack Views are powerful layout tools that let you create simple to extremely complex layouts, in a minimum of time.

Toggle description

Learn how various UI elements can have a preferred size, based on the content, and how this affects your layouts.

Toggle description

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.

Toggle description

Constraints are the “building blocks” of Auto Layout. Learn what they are, and when to choose them over autoresizing masks or stack views.

Toggle description

There are several ways to create constraints in Xcode — explore the most common ways and see how constraints affect your layouts.

Toggle description

Now that you’ve created constraints, learn how to edit them to add more complex arrangements — or even delete constraints altogether.

Conclusion 2:50
Toggle description

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!