Dip v0.1.0 Release Notes
-
Dip
- Dip is now Thread-Safe
- โ Added a configuration block so we can easily create the container and register the dependencies all in one expression:
let deps = DependencyContainer() { $0.register() { x as Foo } $0.register() { y as Bar } $0.register() { z as Baz } }
- ๐ Source Documentation
Example Project
- Code Cleanup
- โ Added more values to
HardCodedStarshipProvider
so it works when thePersonProviderAPI
uses real pilots from swapi.co (SWAPIPersonProvider
)