A type that represents a SwiftUI view.
- iOS 13.0+Beta
- macOS 10.15+Beta
- tvOS 13.0+Beta
- watchOS 6.0+Beta
- Xcode 11.0+Beta
- Mac Catalyst 13.0+Beta
You create custom views by declaring types that conform to the
View protocol. Implement the required
body computed property to provide the content and behavior for your custom view.