Good API design is essential for writing code that scales. In this talk, we look at some characteristics of good design and how to refactor code using the protocol features in Swift.
Source code available at https://github.com/matthewcheok/polymorphism-with-protocols
Video at https://youtu.be/2fO-B4qL8ZA