From the course: Swift 5: Protocol-Oriented Programming

Benefits: Protocol-oriented programming

From the course: Swift 5: Protocol-Oriented Programming

Start my 1-month free trial

Benefits: Protocol-oriented programming

- Most software developers are familiar with object oriented programming concepts, but in Swift we can take a different approach. Protocol-oriented programming is a powerful paradigm that can simplify and improve the design of our systems considerably. Hello, I am Karoly Nyisztor. I have been developing software systems for more than two decades now, and I am passionate about Swift and IOS development. I have also authored several books and online courses. In this course, I provide an overview of the core protocol-oriented programming concepts, and I show you how to apply them effectively using hands-on coding examples. I am going to show you techniques that produce clean, flexible code and improved performance. We'll leverage the power of protocol orientation to trade in complex class hierarchies and unwanted legacies for loosely-coupled granular designs. We start by taking the deep dive into protocols, and the pillars of protocol-oriented programming. Then, we compare the object-oriented approach with the protocol-based way of designing software. We'll dedicate a chapter to generics. Generics walk hand-in-hand with protocols, and they are deeply-rooted in the language. Finally, we'll build a fully functional weather app using a protocol-oriented approach. To solidify what you learned from following along, I've included practical challenges and solutions. I'm really excited to share what I know about protocol-oriented programming with you. All right, let's get started!

Contents