Sitemap
The Swift Cooperative

Authors publishing advanced articles on Swift and SwiftUI application development.

The Swift Dependency Injection Series

Last Updated: May 13, 2026

3 min readJan 7, 2023

--

Press enter or click to view image in full size
Logo ©2025, Michael Long

I’ve written quite a few articles on Dependency Injection, ever since I created Resolver back in 2018. So I decided to create this list to gather them all up into one handy reference.

Note that articles marked with an asterisk (*) are recommended reading.

Note that development of Factory 3.1 is underway. If you’d like a peek at what’s coming, or if you have suggestions or recommendations, then checkout the Factory repository.

Factory

Factory is my latest open-source dependency injection library, and a successor to Resolver. Factory is fast, lightweight, and compile-time safe.

Exploring Factory Macros — NEW

Dependency injection without the ceremony.

Swift Macros Still Aren’t Ready for Prime Time — NEW

They’re clever. They’re powerful. And they’re almost guaranteed to ruin your afternoon.

Factory: Macro Misadventures

Why attempting to add Swift Macros to Factory was a study in compromise.

Factory 2.5 Was Just Released

--

--

A Lead Software Engineer who writes about Apple, Swift, SwiftUI, and technology. Also author of the open source projects Factory and Navigator.

The Swift Cooperative
The Swift Cooperative

Published in The Swift Cooperative

Authors publishing advanced articles on Swift and SwiftUI application development.