Configurable types in Swift — Swift by Sundell

Even though most of our classes, structs, and other types might have initially been created to solve a very specific problem — over time, we quite often find ourselves wanting to use a highly similar version of that same type or logic, but for something entirely different. John Sundell takes a look at a technique for making that happen — that involves making certain types increasingly configurable.


Want to receive more content like this in your inbox?