Skip to content

Glossary: SwiftUI

View

Also written: views

The protocol at the heart of SwiftUI: any struct with a `body` of type `some View` can be shown on screen. A view is a small, cheap description of part of the screen.

Where the book teaches it

Related terms

bodyopaque typemodifier