Priority

public enum Priority
  • The element has a fixed size, with a grow and shrink priority of 0. The element will neither grow nor shrink during overflow and underflow.

    Declaration

    Swift

    case fixed
  • The element has a flexible size, with a grow and shrink priority of 1. The element will grow during underflow and shrink during overflow.

    Declaration

    Swift

    case flexible
  • The element has a flexible size, it will grow if the stack underflows, but it will not shrink if the stack overflows.

    Declaration

    Swift

    case grows
  • The element has a flexible size, it will shrink if the stack overflows, but it will not grow if the stack underflows.

    Declaration

    Swift

    case shrinks