Swift provides a number of advanced features for building a functionality that is flexible, but well defined, so that it feels like you are extending the language itself. In this chapter, we will examine two of these features: generics and operators. We will also see how nested types allow logical grouping, access, and namespacing for your constructs.
All the code for this chapter can be found in the following GitHub repository, http://swiftbook.link/code/chapter4