How and Why to Use Protocols and Delegates in Swift

In this short episode we take a closer look at why we used a protocol and delegate in part 3 of Building Instagram Stories from Scratch (which you can watch here: https://youtu.be/NbHYLNNQdhg )

This is one of the most important concepts in iOS programming, but it’s not that complicated once you see why and how to use protocols and delegates.

The code for this and all episodes can be found here on github: https://github.com/brightmediums/HowT... This project is in the folder titled "Why You Should Use a Delegate and Protocol".