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.
[…]
Like we took a look at in "Handling non-optional optionals in Swift", reducing the need to use optionals when the values you're looking for are actually required can really help us avoid bugs and make our code easier to work with.
[…]