Instance Property インスタンスプロパティ

body

The content and behavior of the scene. シーンの内容と挙動。

Declaration 宣言

var body: some Scene { get }

Discussion 議論

For any scene that you create, provide a computed body property that defines the scene as a composition of other scenes. You can assemble a scene from built-in scenes that SwiftUI provides, as well as other scenes that you’ve defined.

Swift infers the scene’s Body associated type based on the contents of the body property.

See Also 参照

Supporting Types 支援を行う型