Factory: Swift Dependency Injection
A new approach to an old problem.
Published in
9 min readJun 6, 2022
Why do something new?
The first dependency injection system I ever wrote was Resolver. This open source project, while quite powerful and still in use in many applications, suffers from a few drawbacks.
- Resolver requires pre-registration of all service factories up front.