---
title: "Discussion on \"Factory for DI\" | Hashnode"
description: "Discussion on \"Factory for DI\". In my previous post about Dependency Injection in iOS, I mentioned that factories can be used for DI and it's straightforward to implement. Today, we will figure out how to do it, what options are available, and why it may be more advantageous than u..."
url: "https://hashnode.com/posts/factory-for-di/644eed2309720df69fb67cbe"
---

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

Discussion

# [Factory for DI](https://vbat.dev/factory-for-di?utm_source=hashnode&utm_medium=feed)

In my previous post about Dependency Injection in iOS, I mentioned that factories can be used for DI and it's straightforward to implement. Today, we will figure out how to do it, what options are available, and why it may be more advantageous than u...

Apr 30, 2023 · 9 min read · vbat.dev  
Read the article

-   [#dependency-injection](https://hashnode.com/tag/dependency-injection)
-   [#ios](https://hashnode.com/tag/ios)
-   [#factory-design-pattern](https://hashnode.com/tag/factory-design-pattern)
-   [#ios-app-development](https://hashnode.com/tag/ios-app-development)
-   [#swift](https://hashnode.com/tag/swift)

## Written by

[Vitaly Batrakov](https://hashnode.com/@vbat)

@vbat · Canada

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

Senior iOS Engineer at Skip

Senior iOS Engineer at Skip

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
