Using Custom Strongly Typed Values For Better Coding in Swift

Discover ways to write safer and more comprehensive code.

Gabriel Theodoropoulos

--

A picture of three links of an iron chain.
Photo by Edge2Edge Media on Unsplash

Not so long ago I discussed in this post about how to define enums with custom raw types in Swift. Creating enums with cases that can be either of a primitive data type, or a custom one as presented in that previous post, helps achieving a simple, yet quite…

--

--

Gabriel Theodoropoulos

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