Skip to content

Glossary: SwiftUI

opaque type

Also written: some, some View, some Scene

A type written `some Something`, meaning "some type that conforms to it; Swift works out which". A view's body is `some View` so you don't write the long real type.

Where the book teaches it

Related terms

Viewbody