Auto Layout Fundamentals
Anatomy of a Constraint
|1||Welcome to Auto Layout Fundamentals 01:57|
|2||What Is Auto Layout 05:17|
|3||Creating a Layout With Auto Layout 04:41|
|4||Anatomy of a Constraint Plus 03:20|
|5||Constraint Priorities and Unsatisfiable Layouts Plus 06:45|
|6||Implicit and Explicit Constraints Plus 03:50|
|7||What Is Intrinsic Content Size Plus 06:46|
|8||Creating Layouts in Interface Builder Plus 08:02|
|9||Editing Constraints In Interface Builder Plus 05:47|
|10||What Are Layout Guides 05:20|
|11||Working With Stack Views Plus 06:53|
|12||Best Practices and Common Pitfalls Plus 05:45|
In this episode, I'd like to take a moment to discuss the anatomy of a constraint, the fundamental building block of a user interface driven by Auto Layout. Remember that user interfaces created with Auto Layout define constraints. The constraints describe the relationships between the views in the user interface. The Auto Layout engine then inspects these constraints and calculates the frame of every view in the view hierarchy.
Are you ready to step up your game?
Cocoacasts Plus helps Swift and Cocoa developers take their education serious without being overwhelmed.