Mock-API has become essential in modern iOS Development. This article will explain how we organized our codebase to work with fake JSON files at BiTaksi.
In the end:
You have just started coding your brand new iOS project. You chose one of the popular architectures like MVVM, MVP, or VIPER. You have set up the basic structure of your project and everything was working perfectly fine until you needed to use UITableView at some point. “Where should I register my table cells?”. “Which place is more suitable to populate cells?”. “Is it ViewModel’s responsibility to create cells for the TableView?”. If you are asking similar questions or just curious to hear about a different approach to handle UITableView methods, I might have a solution for you
Senior iOS Developer