When applied to an enum, this ForEachIterable protocol has a default implementation that works.
In other words, there is built-in conformance to CaseIterable for enums as long as you declare conformance. There are no stubs to be added after an error complaining that you do not conform to CaseIterable. All this protoco…
Keep reading with a 7-day free trial
Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

