ConnectableViewModifier
public protocol ConnectableViewModifier : Connectable, ViewModifier
A view modifier that connects to the application state.
-
Undocumented
Declaration
Swift
associatedtype InnerBody : View
-
Return the body of the view modifier using the provided props object.
Declaration
Swift
func body(props: Props, content: Content) -> InnerBody
Parameters
props
A mapping of the application to the props used by the view.
content
The content of the view modifier.
Return Value
The connected view.
-
body(content:
Extension method)