title: Examples of Delegates in Swift
body: <p>I have been trying to learn how delegation with protocols work. I understood everything, but I can't think of when to use delegation other than when using table views and possibly scroll views.</p>
  
  <p>In general, when is delegation used?</p>