Generic Protocols in Swift

I’ve recently been undertaking a rebuild of my app, resulting in me thinking about what the architecture looks like as a whole. I’d previously made use of IGListKit, and over a couple of years it had served me well. Yet, with the advancements in modern collection views, I was able to rethink the use of this dependency. As a result, it led me down a bit of a rabbit hole into generics across protocols.

--

--

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Joe Williams

iOS Engineer @ Sky Betting & Gaming | Indie Dev @ Expodition Podcast App