---
title: "Discussion on \"How to use Dependency Injection?\" | Hashnode"
description: "Discussion on \"How to use Dependency Injection?\". What is dependency injection?\nAccording to Wikipedia definition:\n\nDependency injection is a technique in which an object receives other objects that it depends on. These other objects are called dependencies. In the typical \"using\" relationship the r..."
url: "https://hashnode.com/posts/how-to-use-dependency-injection/608e0ddea3716542f363fb7f"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [How to use Dependency Injection?](https://swiftlearningnow.hashnode.dev/how-to-use-dependency-injection?utm_source=hashnode&utm_medium=feed)

What is dependency injection? According to Wikipedia definition: Dependency injection is a technique in which an object receives other objects that it depends on. These other objects are called dependencies. In the typical "using" relationship the r...

May 2, 2021 · 5 min read · swiftlearningnow.hashnode.dev  
Read the article

-   [#swift](https://hashnode.com/tag/swift)
-   [#xcode](https://hashnode.com/tag/xcode)
-   [#testing](https://hashnode.com/tag/testing)
-   [#design-patterns](https://hashnode.com/tag/design-patterns)
-   [#tutorial](https://hashnode.com/tag/tutorial)

## Written by

[Gabriel Gonçalves](https://hashnode.com/@GabrielGGuim)

@GabrielGGuim

  
[View profile](https://hashnode.com/@GabrielGGuim)

I'm iOS developer

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
