Dependency Injection with Storyboards
I’d been using Swinject for a while, but was never satisfied. All I need for DI is the ability to inject into ViewControllers, including subclasses. After way too much time trying to add subclass support, it was much simpler to just write my own implementation.
It includes unit tests for macOS, and it should work for iOS, but I haven’t tested that yet (the iOS version of my current app is pretty far behind).
This post is licensed under CC BY 4.0 by the author.