Using Swinject For SwiftUI Dependency Injection
Daily Coding Tip 206
Start by adding the Swinject package to your project. You can do this by going to File > Add Packages… and typing the following URL into the search box in the top right:
https://github.com/Swinject/SwinjectAdd the Swinject framework, but don’t bother adding the Swinject-Dynamic framework.
Now I’m ready to create MyAssembly…
Keep reading with a 7-day free trial
Subscribe to Type Safely to keep reading this post and get 7 days of free access to the full post archives.

