Chapter 7

Generic Protocols

Welcome to Chapter 7, Generic Protocols. First, I’d like to congratulate you for the journey you’ve embarked on. If you’ve been consistently following the path I’ve designed for you, you’ve got a bright future. The primary focus of this chapter is to understand how to design scalable architecture with generic protocols. However, I have to admit protocol oriented programming is not a silver bullet. It is certainly useful, yet you will discover the pitfall of the Swift protocol. Nonetheless, you will eventually work around the problem using the brain.

Let us begin.