In-Depth Look at Dependency Injection in Swift

Vadim Bulavin
1 min readJun 10, 2019

🚀 Dependency injection is a key part of designing loosely-coupled apps. In this article let’s take a look at core principles of DI and several advanced patterns: Factory, DI Container, Service Locator, Ambient Context.

This is a cross-post from my blog. I recommend to read the article there, as you’ll get better reading experience.

Sign up to discover human stories that deepen your understanding of the world.

Free

Distraction-free reading. No ads.

Organize your knowledge with lists and highlights.

Tell your story. Find your audience.

Membership

Read member-only stories

Support writers you read most

Earn money for your writing

Listen to audio narrations

Read offline with the Medium app

Vadim Bulavin
Vadim Bulavin

Written by Vadim Bulavin

Senior iOS Software Engineer at Pluto TV. Creator of Yet Another Swift Blog https://www.vadimbulavin.com/. Coding for fun since 2008, for food since 2012.

No responses yet

Write a response