Protocols are quite powerful in Swift and can be used to build objects as an alternative to inheritance. Let's take a look at how we leverage protocols to build a decently complex example.
Pasan spends most of his time learning and the rest trying to figure out how to pass that knowledge on to others. It's a hard job but he loves it all the same. You can find him everywhere as @pasanpr
I forgot my password