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) -> InnerBodyParameters
propsA mapping of the application to the props used by the view.
contentThe content of the view modifier.
Return Value
The connected view.
-
body(content:Extension method)
View on GitHub
ConnectableViewModifier Protocol Reference