What is Dependency Injection?
And why you need it in your iOS projects
3 min readNov 13, 2022
What is Dependency Injection?
Dependency Injection or DI, is a design pattern in which an object or function receives other objects or functions (dependencies) that it depends on.
In other words, Dependency Injection consists of passing or injecting dependencies as parameters…