UIStackView - adamontherun/Study-iOS-With-Adam-Live GitHub Wiki
Stack view notes
UIView subclass Simplifies layout by adding constraints Creates Rows and Columns along an axis
At minimum need to constrain x and y of stackview
Has array of arrangedsubviews. Order matters
Uses contents intrinsic content size and any additional constraints on srrangedsubviews
Understanding intrinsic content size key https://developer.apple.com/library/content/documentation/UserExperience/Conceptual/AutolayoutPG/AnatomyofaConstraint.html#//apple_ref/doc/uid/TP40010853-CH9-SW21
Can have stack views be arranged stackview
Can specify size of stack view, but need to be careful of conflicts
Axis
Arrangement Fill equal only choice that doesn't care about intrinsic content size
Demo fill and others
Spacing
New spacing API
How hiding works