allCases
-
Iterating Through Enum Cases With CaseIterable In Swift
It’s often needed to get enum cases as an array and iterate through them, something that’s really easy in Swift and this post shows how.
● content and resources about iOS & macOS programming ●
It’s often needed to get enum cases as an array and iterate through them, something that’s really easy in Swift and this post shows how.