MwxTabBody

public struct MwxTabBody : View

A type-erased View.

An MwxTabBody allows changing the type of view used in a given view hierarchy. Whenever the type of view used with an MwxTabBody changes, the old hierarchy is destroyed and a new hierarchy is created for the new type use to wrap up a tab view coordinated view.

Initialization

  • Creates an instance of this view. Required.

    Declaration

    Swift

    public init()

Body Implementation

  • Declares the content and behavior of this view.

    When you create a custom view, Swift infers this type from your implementation of the required body property.

    Declaration

    Swift

    public var body: some View { get }