A type that represents a SwiftUI view.
- iOS 13.0+
- macOS 10.15+
- Mac Catalyst 13.0+
- tvOS 13.0+
- watchOS 6.0+
- Xcode 11.0+
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.