Skip to content

Glossary: SwiftUI

CaseIterable

Also written: allCases

A protocol that gives an enum an `allCases` array of all its cases, so `Size.allCases` lists small, medium and large.

Where the book teaches it

Related terms

ForEach