Visualising Protocols - Swift Mumbai #7

Visualising Protocols - Swift Mumbai #7

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.

GitHub -
Twitter -

Presented at Swift Mumbai Chapter 7 Meetup hosted by BookMyShow


Swift India

February 23, 2019