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: )

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: This project is in the folder titled "Why You Should Use a Delegate and Protocol".