If you've ever built anything using UIKit, then you are probably familiar with the delegate pattern. The delegate pattern is…