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

Auto Layout

Sep 15 2015 · Video Course (2 hrs, 25 mins) · Beginner

Auto Layout is a technology that was released in iOS 6 that allows you to build your layouts for different screen sizes and orientations. This series walks you through the basics of layouts in both Interface Builder and code. While the subject matter is complex, it is designed for beginners and assumes no knowledge of Auto Layout.

Version

  • Swift 2, iOS 9, Xcode 7

Introduction

5:10 Free

Find out why you should use Auto Layout and what's covered in our Intro to Auto Layout video tutorial series.

1

Learn how to create a layout and the corresponding constraints using Auto Layout in Interface Builder.

2

Learn about different ways you can use control drag to create constraints and how to use container views to apply constraints to a group of views.

3

Learn about editing constraints in Auto Layout.

4

Learn about constraint priorities, the problems they solve, and the power they bring to your layout.

5

Learn about the automatic constraints that some views create based on their intrinsic content size.

6

Learn how to create constraints in code.

7

Learn about some great tools for working with Auto Layout in code: UILayoutGuide and NSLayoutAnchor.

8

Learn how to use the visual format language to create multiple constraints in a much more compact way.

9

Learn about debugging in Auto Layout.

10

Learn how the layout system works, how to animate changes to constraints, and which other animation methods you should or should not use with Auto Layout.

11

Conclusion

3:15

Review what you learned in our Auto Layout video tutorial series and get some tips and resources to help you learn more about mastering layouts.

12

Version history

iOS 12, Swift 4, Xcode 10

May 17 2018

iOS 10, Swift 3, Xcode 8

Feb 14 2017

iOS 9, Swift 2, Xcode 7

Dec 14 2015

iOS 9, Swift 2, Xcode 7 (Selected)

Sep 15 2015

Contributors

Comments