TableView factories: An useful tool for heterogeneous lists

Introduction

Basic structure of a UITableView

TableViewCellBuilderProtocol

TableViewSectionProtocol

TableViewOutputProtocol

Building our TableViewFactory

Architecture diagram

Conclusion

iOS developer- WWDC19 scholarship winner- Blockchain enthusiast

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