Class Central is learner-supported. When you buy through links on our site, we may earn an affiliate commission.

Udacity

AutoLayout

via Udacity

Overview

With this course, you will learn about AutoLayout and how to use stack views and constraints to create pixel-perfect UIs.

Also, you will take a deep dive and learn about some of the most commonly misunderstood properties affecting layout like distribution, alignment, content hugging, and compression resistance.

Then, you will put all of this knowledge to use and start creating functional interfaces with multiple stack views and UI elements. In fact, you will recreate an interface from a very well known app. And, by the end of this course, you will be ready to create beautiful interfaces from scratch.

Syllabus

  • Welcome to AutoLayout!
    • Learn all the possible ways of laying out a view.,Determine how views should adapt when the available screen size changes.,Explore AutoLayout and constraints — the premiere tools for building adaptive views.
  • Using AutoLayout
    • Survey various methods for implementing AutoLayout.,Use stack views to intuitively construct interfaces without getting muddled in the details.
  • View Properties
    • Investigate the properties which control how elements are sized using AutoLayout.,Examine the nuances of compression resistance and content hugging.
  • StackViews 101
    • Build and tweak layouts while exploring all the properties of stack views.,Modify axes, spacing, alignments, and distributions to arrange contained subviews.
  • Positioning StackViews
    • Generate and configure constraints using Interface Builder and storyboards.,Analyze the interplay between stack views and different UI elements and devices.
  • Horizontal Layouts
    • Troubleshoot common problems affecting horizontal stack views and elements with similar view properties.,Compose interfaces that embed stack views within stack views.
  • Vertical Layouts
    • Use stack views to experiment with vertical layouts.,Recreate an interface from a very well known app!

Taught by

Fernando Rodriguez

Reviews

Start your review of AutoLayout

Never Stop Learning.

Get personalized course recommendations, track subjects and courses with reminders, and more.

Someone learning on their laptop while sitting on the floor.