Type: SPM - Swift Package Manager Project Responsability: to be an independent module responsible for register and resolver dependency injections, can be shared with other projects.
References:
- https://medium.com/sahibinden-technology/dependency-injection-container-in-swift-89392a309532
- https://levelup.gitconnected.com/dependency-injection-container-in-swift-b4d7e139338c
-
Implement Register
-
Implement Resolver
-
Add Unit Test
-
pass parameters when resolving dependecy
-
Dependecy lifeCycle: Singleton, New Instance, Etc
-
Try a way to do heve compiler error when dependecy is not registered correctly