February 2021
Intermediate to advanced
500 pages
9h 56m
English
Swift provides a number of advanced features for building 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 control, and namespacing for your constructs.
In this chapter, we will cover the following recipes:
All the code for this chapter can be found in this book's GitHub repository at https://github.com/PacktPublishing/Swift-Cookbook-Second-Edition/tree/master/Chapter04 ...
Read now
Unlock full access