Enumeration

NSUserInterfaceLayoutOrientation

The two stack view layout directions and, for clipping resistance and hugging priority, the two user interface axes.

Declaration

enum NSUserInterfaceLayoutOrientation : Int

Topics

Constants

case horizontal

For the orientation property, horizontal layout for the stack view. For clipping resistance and hugging priority, the horizontal user interface axis.

case vertical

For the orientation property, vertical layout for the stack view. For clipping resistance and hugging priority, the vertical user interface axis.

See Also

Configuring the Stack View Layout

var orientation: NSUserInterfaceLayoutOrientation

The horizontal or vertical layout direction of the stack view.

var alignment: NSLayoutConstraint.Attribute

The view alignment within the stack view.

var spacing: CGFloat

The minimum spacing, in points, between adjacent views in the stack view.

var edgeInsets: NSEdgeInsets

The geometric padding inside the stack view, surrounding its views, in points.

var hasEqualSpacing: Bool

A Boolean value that indicates whether the spacing between adjacent views should equal each other.

Deprecated