ViewModifier
public protocol ViewModifier
A modifier that you apply to a view or another view modifier, producing a different version of the original value.
-
The type of view representing the body.
Declaration
Swift
associatedtype Body : View -
The content view type.
Declaration
Swift
associatedtype Content : View -
html(forHTMLOfContent:Default implementation)
-
body(content:Default implementation)
View on GitHub
ViewModifier Protocol Reference