Author name: Fernando Ortiz

Dependency Injection for iOS Applications – Part 2

In Part 1 of our article Dependency Injection for iOS Applications we introduced Dependency Injection (DI) and looked into Init based DI. In the second part we will be discussing another common type, the Container based DI. Container based Dependency Injection The container based DI approach is different from the init based approach. In DI …

Dependency Injection for iOS Applications – Part 2 Read More »

Dependency Injection for iOS Applications – Part 1

What is dependency injection? Dependency Injection (DI) is a design pattern that decouples an object from the instantiation of its dependencies. An object doesn’t need to know how to create its dependencies. Instead, we “inject” them to it.  In this context, we consider a dependency any other instance our object references and uses to fulfil …

Dependency Injection for iOS Applications – Part 1 Read More »

Scroll to Top