CaseIterable
Also written: allCases
A standard protocol that makes Swift build `allCases`, an array of every case of an enum. `Size.allCases` lists small, medium and large.
Also written: allCases
A standard protocol that makes Swift build `allCases`, an array of every case of an enum. `Size.allCases` lists small, medium and large.