Michael Long
Jan 1, 2024

--

Tend to prefer adding an unknown case to the enumeration, especially for situations where new types might be added later. Especially handy for JSON conversions.

--

--

Michael Long
Michael Long

Written by Michael Long

I write about Apple, Swift, and SwiftUI in particular, and technology in general. I'm also a Lead iOS Engineer at InRhythm, a modern digital consulting firm.

No responses yet