needle icon indicating copy to clipboard operation
needle copied to clipboard

Compile-time safe Swift dependency injection framework

Results 58 needle issues
Sort by recently updated
recently updated
newest added

From what I can see on https://cocoapods.org/pods/NeedleFoundation the version does not match that of the CLI tool

When invoking the following command: ``` Carthage/Checkouts/Needle/Generator/bin/needle generate App/Sources/Generated/Needle.swift ``` `needle` requires that the `Sources` and `Generated` directories exist. This can be an issue when the directory is specifically for...

First, thank you for the wonderful DI framework! --- I've found that just traversing the input directory is quite slow. To prove this, I ran the following command, which excluded...

Since we currently generate a new dependency provider for each scope, for all paths of that scope, this grows exponentially. We should be able to leverage the parent scope's dependency...

Planned for v0.12.0

Currently if I have a dependency announced within `#if DEBUG` scope, it will be parsed into the `NeedleGenerated.swift` file. However, in release mode, this will cause compiling issue. Any plan...

Not planned

This should help automate the last step in the release process, creating a GitHub release.

The current *Why DI* document explains only the benefits of writing loosely coupled code using the DI pattern but doesn't offer any details on how *needle* specifically helps or why...