Creating custom collections in Swift — Swift by Sundell

When creating collections of objects or values in Swift, we usually use data structures provided by the standard library - such as Array, Dictionary and Set. While those three cover most use cases, sometimes creating a custom wrapper collection can enable you to make your code more predictable and less prone to errors. John Sundell takes a look at how we as app developers can define such custom collections in Swift!


Want to receive more content like this in your inbox?