SwiftUIHostedInterfacing

@MainActor
public protocol SwiftUIHostedInterfacing : ViewDestinationInterfacing

This protocol represents a SwiftUI View that is hosted by a container controller within UIKit.

  • A state object used to hold a reference to this view’s associated UIKit Destination.

    Declaration

    Swift

    @MainActor
    var hostingState: SwiftUIHostingState<Self, PresentationConfiguration> { get set }