StackLayout: A layout that stacks its child layouts horizontally or vertically.

Most UIs are easily expressed by nesting vertical and horizontal stacks. Nesting layouts does not adversely affect performance because because LayoutKit does not create views for layouts that do not require one (e.g. StackLayout, InsetLayout).

If you are already using UIStackView (or any other Auto Layout based stack) and are looking for a quick performance win, check out StackView. It is similar to UIStackView except it is much faster because it uses StackLayout.