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

Sometimes, we want to choose whether to share same ViewModel among different instances of View as long as the ViewModel's instance has been referenced somewhere. Like that, it is better...

- Add actions file to publish automatically so that anyone won't forget to publish. (Today's latest version we can install from Podspec is [0.17.2](https://cocoapods.org/pods/NeedleFoundation) although latest release version is [0.22.0](https://github.com/uber/needle/blob/d3eaf696ad2e4c3e25618cfa3643402fdd237f7a/NeedleFoundation.podspec#L3))...

I am going through migrating a legacy codebase onto using Needle and encountered circular dependencies. Some of my scopes have children scopes that in turn declare one of the great...

The total volume of code needle produces is O(average_number_of_items_in_the_dependency_protocols x total_number_of_paths_in_the_component_tree). At Uber, the first one is slightly high maybe, but the second part is really high in our flagship...

I have a multi-module configuration, but if I specify a package with RootComponent, NeedleGenerated is not generated correctly. I'll show you an example below. If you remove the HogeModule designation,...

The latest version of Needle currently available on Homebrew is v0.17.2, but it appears the latest release is v0.18.1 https://formulae.brew.sh/formula/needle

Hi everyone We are struggling with "correct" usage of dynamic dependencies. Example case: We have list of todos (root controller aka component), on item tap we should present detail todo...

When a dependency is declared that is used by some Component in the system, it must directly inherit from `NeedleFoundation.Dependency`. You can't have some other dependency and then add to...

Not planned

This PR migrates the command line parsing code provided by `swift-tools-support-core`, which has long been replaced by the standalone `swift-argument-parser` package. It eliminates all the deprecation warnings, and cleans up...