0.1.0
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
)