Iterating Through Enum Cases With CaseIterable In Swift

Treat enum cases as if they were collections with a single move.

Photo by Lopsan: https://www.pexels.com/photo/makin-magic-album-sleeve-2191013/

--

--

An iOS & macOS app maker writing code in Swift. Author of countless programming tutorials. Content creator. https://serialcoder.dev

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Gabriel Theodoropoulos

An iOS & macOS app maker writing code in Swift. Author of countless programming tutorials. Content creator. https://serialcoder.dev