There is an updated version of this course available, created for Swift 4, iOS 12, Xcode 10. View Latest Version

Mastering Auto Layout

Feb 14 2017 · Video Course (1 hr, 21 mins) · Intermediate

Dive a little deeper into auto layout, learn more about creating complex constraints, debugging auto layout, and creating universal layouts for all devices.

Version

  • Swift 3, iOS 10, Xcode 8

Introduction

3:06 Free

Dive a little deeper into auto layout, learn more about creating complex constraints, debugging auto layout, and creating universal layouts for all devices.

1

For more powerful layouts using Auto Layout, learn how to use constraints that are greater than or less than a value.

2

Learn how to modify the priorities of constraints to create a powerful hierarchy that can handle multiple different situations.

3

You've learned much about using constraints in Interface Builder, now see how to interact with them in your code.

4

The Visual Format Language lets you create many constraints quickly, but it's also used in the logs to describe what has been created.

5

Learn how to look under the hood and understand why Auto Layout is placing that specific view in that specific place.

6

Go one step further than constraints and define differences in your layout between classes of device sizes.

7

Views and constraints aren't the only things you might want to vary by size class. Learn how to adjust fonts, images, and more.

8

The adaptive layout environment describes layout traits that you can use to adjust to different situations.

9

View controllers can adapt how they are presented based on the adaptive environment. Learn what the framework does for you and how to modify its behavior.

10

Conclusion

1:45

Recap what you’ve learned in this Mastering Auto Layout series and check out a few Auto Layout tips as well.

11

Version history

iOS 12, Swift 4, Xcode 10

May 17 2018

iOS 10, Swift 3, Xcode 8 (Selected)

Feb 14 2017

iOS 9, Swift 2, Xcode 7

Dec 14 2015

iOS 9, Swift 2, Xcode 7

Sep 15 2015

Contributors

Comments