Auto Layout
suggest changeIntroduction
Auto Layout dynamically calculates the size and position of all the views in your view hierarchy, based on constraints placed on those views. Source
Syntax
NSLayoutConstraint(item:attribute:relatedBy:toItem:attribute:multiplier:constant:)creates a constraint in code. Theitemarguments are untypedAnyand are not checked at compile time.
Found a mistake? Have a question or improvement idea?
Let me know.
Table Of Contents