阅读背景:

谁应该在iOS应用程序中拥有Dependency Injected对象?

来源:互联网 

This is probably a fundamental question for an experienced iOS developer, but coming from a Java background where we have lots of Dependency Injection (DI) goodies (i.e., Spring) I'm having some trouble figuring out who should own the DI objects. Unfortunately, I find myself creating a bunch of Singletons which is becoming pretty nasty to manage.This is probably a fundamental question for an




你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: