Protocol-Oriented Programming in Swift 5 - Karoly Nyisztor

Protocol-Oriented Programming in Swift 5

By Karoly Nyisztor

  • Release Date: 2021-02-27
  • Genre: Software

Book Synopsis

Protocol-Oriented Programming is a powerful approach that makes it easier to write efficient, elegant, and professional Swift code. Anyone who plans to design, implement, or understand a modern Swift codebase needs to understand this programming paradigm. I’ll make the transition from Object-Oriented Programming to Protocol-Oriented Programming as smooth as possible—regardless of whether you’ve been working with object-oriented languages for decades or you’re just about to write your first, extensive project in Swift.  We’ll begin with an in-depth discussion of what Protocol-Oriented Programming is and what makes it different from the object-oriented programming approach.  We’ll then talk about three fundamental concepts:  • Protocol extensions • Protocol inheritance • Protocol composition Understanding these concepts is crucial to applying the Protocol-Oriented Programming (POP) paradigm effectively. To solidify them, I’m going to lead you through several Swift coding examples. Although this book focuses on POP, we’ll usually encounter generics when using protocols. I dedicated an entire chapter to show you how to leverage the power of generics combined with protocols.  Finally, you can follow along with me as I build a full-blown application from scratch using the protocol-oriented approach. Throughout the book, you'll acquire coding skills that can be applied in real-world situations. And by the time you finish, you’ll have the knowledge to design and write professional applications that leverage the power of protocol-oriented programming.

Tags in Software : Protocol-Oriented Programming in Swift 5 Karoly Nyisztor ebook , Protocol-Oriented Programming in Swift 5 Karoly Nyisztor epub , Protocol-Oriented Programming in Swift 5 Karoly Nyisztor AUDIOBOOK , Protocol-Oriented Programming in Swift 5 by Karoly Nyisztor ePub (.epub) , Protocol-Oriented Programming in Swift 5 book review , Software