ViewControllerWrapper
@available(iOS 14.0, macOS 11, tvOS 14.0, *)
public struct ViewControllerWrapper<F> : View, UIViewControllerRepresentable, FlowRepresentable where F : UIViewController, F : FlowRepresentable
A wrapper for exposing UIViewController
s that are FlowRepresentable
to SwiftUI.
-
Declaration
Swift
public weak var _workflowPointer: AnyFlowRepresentable? { get set }
-
Declaration
Swift
public init(with args: F.WorkflowInput)
-
Declaration
Swift
public init()
-
Declaration
Swift
public func makeUIViewController(context: Context) -> F
-
Declaration
Swift
public func updateUIViewController(_ uiViewController: F, context: Context)
-
Declaration
Swift
public func shouldLoad() -> Bool