Speaker: Viranchee Lotia
One of the apps that I worked on as an intern had a block of code copy pasted in various view controllers. It is a good technique until when code reuse blows up, and you need the same functionality in multiple classes. One of the approaches to solve is taking that piece of repeated code out to a Protocol. Implementing a certain class to complete that functionality leaves us with only one point of failure/testing and eases maintainability of the code.
Presented at Swift Mumbai Chapter 7 Meetup hosted by BookMyShow