Interface-oriented router for discovering modules, and injecting dependencies with protocol in Objective-C and Swift.
Geek Repo:Geek Repo
Github PK Tool:Github PK Tool
ma125125t opened this issue 4 years ago · comments
比如有两个模块,PostModule和PersonModule,两个模块间无耦合,业务交集通过Provider接口层提供。主APP通过pod引入两个模块,但这样的话主app是可以引用到模块下的所有类的,在APP中就有可能引入模块中的某个类导致与APP耦合。