December 2015
Beginner
336 pages
9h 13m
English
Congratulations on completing a set of milestone topics in the last chapter: classes, structures, and enumerations—your Swift journey through this book is almost halfway finished! Yet you’ve only scratched the surface of what Swift’s object-oriented capabilities are. There’s still plenty to explore in this area, and for now, our focus will remain on concepts related to classes and structures.
Two significant features of the Swift language expand the utility and flexibility of classes and structures: protocols and extensions. That material will carry us through this chapter.
Dinner fork versus salad fork. Saying “please” and “yes, sir” or “yes, ma’am.” These are behavior ...