Understanding the Protocol-Oriented Programming (POP) paradigm is imperative if you plan on designing and implementing software using Swift 5. In this book, you’ll learn how to work with POP to approach app development more efficiently.
First, we review what POP is and how it differs from the classical object-oriented programming approach. Next, we discuss the pillars of this new paradigm: protocol extensions, protocol inheritance, and protocol composition. In the last part of this book, we’re going to implement a fully functional app using the protocol-oriented approach.
- What’s protocol-oriented programming?
- The pillars of POP
- Defining method requirements
- Class-bound protocols
- Adopting a protocol
- Generics and protocols
- Implementing an app from scratch using POP
Throughout the book, you’ll acquire coding skills that can be applied in real-world situations.