Instance Property

body

The content and behavior of the view.

Required. Default implementations provided.

Declaration

var body: Self.Body { get }

Default Implementations

NSViewControllerRepresentable Implementations

var body: Never

Declares the content and behavior of this view.

NSViewRepresentable Implementations

var body: Never

Declares the content and behavior of this view.

Shape Implementations

var body: ShapeView<Self, ForegroundStyle>

Declares the content and behavior of this view.

UIViewControllerRepresentable Implementations

var body: Never

Declares the content and behavior of this view.

UIViewRepresentable Implementations

var body: Never

Declares the content and behavior of this view.

WKInterfaceObjectRepresentable Implementations

var body: Never

Declares the content and behavior of this view.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software