var body: Never
Declares the content and behavior of this view.
このビューの内容と挙動を宣言します。
Availability 有効性
Technology
var body: Self.Body { get }
When you implement a custom view, you must implement a computed body
property to provide the content for your view. Return a view that’s composed of built-in views that SwiftUI provides, plus other composite views that you’ve already defined:
struct MyView: View {
var body: some View {
Text("Hello, World!")
}
}
For more information about composing views and a view hierarchy, see Declaring a Custom View.
var body: Never
var body: Never
var body: _ShapeView <Self, ForegroundStyle >
var body: Never
var body: Never
var body: Never
associatedtype Body : View
func modifier<T>(T) -> ModifiedContent <Self, T>