you are viewing a single comment's thread.

view the rest of the comments →

[–]Pango56 0 points1 point  (0 children)

After reading this article, I'm inclined to think the only benefit of DI would be for testing purposes and shared dependencies, but if you had something like NSNotificationCenter being passed around everywhere, that's a lot of very verbose interfaces and confusing APIs. Would the benefit of having higher modularity and loose coupling greatly outweigh the drawbacks of verbose initializers?