Udacity Logo
Log InJoin for Free
Free

AutoLayout

Course

Learn about AutoLayout and how to use stack views and constraints to create pixel-perfect UIs.

Learn about AutoLayout and how to use stack views and constraints to create pixel-perfect UIs.

Last Updated March 7, 2022

Prerequisites:

No experience required

Course Lessons

Lesson 1

Introduction to AutoLayout

In this lesson, you will learn what problems AutoLayout solves and why you can't afford to ignore it any longer.

Lesson 2

Using AutoLayout

In this lesson, you will learn about the 4 different ways of implementing AutoLayout, which one we recommend you use, and why. You also will delve deeper into the recommended way: UIStackViews.

Lesson 3

View Properties used by AutoLayout

AutoLayout uses 3 properties that all views share: intrinsicContentSize, compressionResistence and contentHugging. Don't be put away by the weird names! It's actually pretty simple, and in this lesson, you'll learn all about them.

Lesson 4

Beginning StackViews

In this lesson, you will learn about 4 properties of StackViews that define its apparently weird behavior. Once you're done with this lesson, you will understand there's a logic to StackViews, and a lot of power too.

Lesson 5

Positioning Views & Constraints

In this lesson, your will learn what a constraint is and well as the role of constraints in AutoLayout.

Lesson 6

Horizontal Layouts

In this lesson, we will create simple horizontal layouts. These will be building blocks for more complex layouts.

Lesson 7

Vertical Layouts

In this lesson, we will take composition and vertical layouts to the next step and use them to create more complex layouts.

Taught By The Best

Photo of Fernando Rodriguez

Fernando Rodriguez

Instructor

The Udacity Difference

Combine technology training for employees with industry experts, mentors, and projects, for critical thinking that pushes innovation. Our proven upskilling system goes after success—relentlessly.

Demonstrate proficiency with practical projects

Projects are based on real-world scenarios and challenges, allowing you to apply the skills you learn to practical situations, while giving you real hands-on experience.

  • Gain proven experience

  • Retain knowledge longer

  • Apply new skills immediately

Top-tier services to ensure learner success

Reviewers provide timely and constructive feedback on your project submissions, highlighting areas of improvement and offering practical tips to enhance your work.

  • Get help from subject matter experts

  • Learn industry best practices

  • Gain valuable insights and improve your skills

Related Programs

Udacity Logo
Company
  • Facebook
  • Twitter
  • LinkedIn
  • Instagram

© 2011-2024 Udacity, Inc. "Nanodegree" is a registered trademark of Udacity. © 2011-2024 Udacity, Inc.
We use cookies and other data collection technologies to provide the best experience for our customers.