HostView

public struct HostView : View

A ArgoKit view that manages a ArgoKit view hierarchy.

  • The content and behavior of the view.

    Declaration

    Swift

    public var body: View { get }
  • The node behind the HostView.

    Declaration

    Swift

    public var node: ArgoKitNode? { get }
  • The type of the node.

    Declaration

    Swift

    public var type: ArgoKitNodeType { get }
  • Initializer

    Declaration

    Swift

    public init(_ view: UIView = UIView(), @ArgoKitViewBuilder _ builder: () -> View)

    Parameters

    view

    A UIKit view that hosts a ArgoKit view hierarchy.

    builder

    A view builder that creates the content of this HostView.