ConnectableView

public protocol ConnectableView : Connectable, View

A view that connects to the application state.

  • Undocumented

    Declaration

    Swift

    associatedtype Content : View
  • Undocumented

    Declaration

    Swift

    associatedtype Body = Connector<Self.Content, Self.State, Self.Props>
  • Return the body of the view using the provided props object.

    Declaration

    Swift

    func body(props: Props) -> Content

    Parameters

    props

    A mapping of the application to the props used by the view.

    Return Value

    The connected view.

  • body Extension method

    Undocumented

    Declaration

    Swift

    public var body: Connector<Content, State, Props> { get }