Let's say there is an Xcode project with 50 Swift modules. A module is a VIPER module composed by 7 files:
- ViewController
- Presenter
- Interactor
- NetworkManager
- Router
- Entities
There are more than 50*7 = 350
files to compile and I really want to split them up into a 50 frameworks, one for each module in order to improve the decoupling and the re-compilation speed.
Keep in mind that I don't want to create a single module for all the Entities
, Routers
, etc. but instead, a single module contains all the files needed to instantiate and use that "view" (7 files normally).
Is there any down side having such a big number of framework inside an app?
It can grow to 70,80,90 or even 100 frameworks.
Cheers