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

Pluralsight

iOS Auto Layout Fundamentals

via Pluralsight

Overview

Save Big on Coursera Plus. 7,000+ courses at $160 off. Limited Time Only!
In this course, you will learn the fundamentals for Auto Layout on iOS, which will help you to build responsive interfaces that can adjust to multiple form factors on devices like the iPhone and iPad.

Auto Layout offers an incredible way to build dynamic interfaces for iPhones and iPads. However, there is a lot of mystery surrounding the technology. In this course, iOS Auto Layout: Fundamentals, you will demystify Auto Layout so you can build some truly unique interfaces. First, you will be introduced to the concept of constraints, the various ways you can build constraints, as well as the Interface Builder tools at your disposal for creating and managing constraints. Afterwards, you will learn to build a custom UIView that depends on Auto Layout. By going through this exercise you will learn how Auto Layout works under the hood. This will cover concepts such as the Alignment Rect, Intrinsic Content Size, Content Hugging, and Compression Resistance. Finally, you will be given various tools that will simplify working with constraints such as the UIStackView, NSLayoutAnchor, NSLayoutDimensions, and NSLayoutConstraint Active property. By the end of this course, you will have a firm understanding of working with constraints in Interface Builder and in code. You will understand the lifecycle for constraints giving you the confidence and power to build truly dynamic user interfaces.

Syllabus

  • Course Overview 1min
  • Introducing Auto Layout 21mins
  • Understanding Constraints, Relations, and Priorities 26mins
  • Diving into Interface Builder and NSLayoutConstraint 46mins
  • Controlling Auto Layout's Rendering Pipeline 52mins
  • Creating Custom Views with Auto Layout 43mins
  • Leveraging Content Hugging and Compression Resistance 24mins
  • Simplicity with UIStackView, Anchors, and Activating Constraints 42mins

Taught by

James Wilson

Reviews

4.2 rating at Pluralsight based on 48 ratings

Start your review of iOS Auto Layout Fundamentals

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.