Generics in Swift
How can you use this “magical” feature of Swift? What are the advantages?
Nov 5 · 7 min read

Generics are used to cut down on code reuse and enables abstraction of problems. Some say that this is an advanced feature of Swift, but I disagree. Once you get used to it, it becomes quite easy (as we shall see).


