Elegantly prepare data source for Table View and Collection View

Table view data sourced methods
Great..!! You are friends with the Justice League
Single cell-type typical implementation.
Nearby Home

Enum based datasource implementation

Enum based modeling and datasource configuration
Enum based datasource approach

Protocols to the rescue

Didn’t get it? Wait for the code.
Presentation Models
Cell abstraction
Isn’t that great…!!

I would love to hear from you



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