StackView
public extension StackView
-
Convenience initializer for simple
UIStackView
.Declaration
Parameters
axis
StackAxis
value specifying a horizontal or vertical layout constraint.alignment
Alignment—the layout transverse to the stacking axis. Defaults to
.fill
.distribution
Value describing the content layout along the stacking axis rules in
UIStackView
. Defaults to.fill
.spacing
Spacing beween content items in
UIStackView
. Defaults to 0.0 -
Convenience initializer for simple
NSStackView
.