You can watch this episode by subscribing to Cocoacasts Plus.

Auto Layout Fundamentals

Anatomy of a Constraint

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.

Purchase Course

Purchase Auto Layout Fundamentals and access it whenever you want and for as long as you want.

Join Cocoacasts Plus

Join Cocoacasts Plus and access every 350+ tutorials including Auto Layout Fundamentals.

Next Episode "Constraint Priorities and Unsatisfiable Layouts"