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 the PersonProviderAPI uses real pilots from swapi.co (SWAPIPersonProvider)