BindableContainerView

@MainActor
public struct BindableContainerView : View, Identifiable

This View provides a way to display a View that is fed from an external binding.

  • id

    A unique identifier.

    Declaration

    Swift

    @MainActor
    public var id: UUID
  • The SwiftUI View to contain.

    Declaration

    Swift

    @MainActor
    public var content: Binding<ContainerView<AnyView>>
  • An initializer.

    Declaration

    Swift

    @MainActor
    public init(content: Binding<ContainerView<AnyView>>)

    Parameters

    content

    A bindable container for a View to be displayed in this View.

  • Declaration

    Swift

    @MainActor
    public var body: some View { get }
  • Undocumented

    Declaration

    Swift

    nonisolated public static func == (lhs: BindableContainerView, rhs: BindableContainerView) -> Bool