Properties2
TypeConcept
Note createdFeb 17, 2025

In SwiftUI, the View protocol is the one that must be adopted by all elements that are to be shown in the screen. The protocol has a single requirement: providing a var body: some View property that returns whatever to be shown.