OverflowEnum

enum OverflowEnum

Describes the overflow state of a composed closure.

  • No overflow.

    Declaration

    Swift

    case noOverflow
  • Inside overflow. The panel opens inward, pivoting from the outside toward the interior side.

    Declaration

    Swift

    case inside
  • Outside overflow. The panel opens outward, pivoting from the inside away from the interior side.

    Declaration

    Swift

    case outside
  • Top inside overflow. The panel pivots along its top edge, opening inward toward the interior of the room.

    Declaration

    Swift

    case topInside
  • Top outside overflow. The panel pivots along its top edge, opening outward away from the interior of the room.

    Declaration

    Swift

    case topOutside
  • Bottom inside overflow. The panel pivots along its bottom edge, opening inward toward the interior of the room.

    Declaration

    Swift

    case bottomInside
  • Bottom outside overflow. The panel pivots along its bottom edge, opening outward away from the interior of the room.

    Declaration

    Swift

    case bottomOutside
  • Left inside overflow. The left-hung panel opens inward, pivoting from the right toward the interior of the room.

    Declaration

    Swift

    case leftInside
  • Left outside overflow. The panel opens outward, pivoting from the right exterior of the building.

    Declaration

    Swift

    case leftOutside
  • Right inside overflow. The right-hung panel opens inward, pivoting from the left toward the interior of the room.

    Declaration

    Swift

    case rightInside
  • Right outside overflow. The panel opens outward, pivoting from the left toward the exterior of the building.

    Declaration

    Swift

    case rightOutside
  • Creates a new instance with the specified raw value.

    If there is no value of the type that corresponds with the specified raw value, this initializer returns nil. For example:

    enum PaperSize: String {
        case A4, A5, Letter, Legal
    }
    
    print(PaperSize(rawValue: "Legal"))
    // Prints "Optional(PaperSize.Legal)"
    
    print(PaperSize(rawValue: "Tabloid"))
    // Prints "nil"
    

    Declaration

    Swift

    init?(rawValue: UInt64)

    Parameters

    rawValue

    The raw value to use for the new instance.