Needle VS Swinject

Compare Needle vs Swinject and see what are their differences.

Needle

Compile-time safe Swift dependency injection framework (by uber)

Swinject

Dependency injection framework for Swift with iOS/macOS/Linux (by Swinject)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Needle Swinject
- 6
1,744 6,178
1.9% 0.7%
2.8 4.2
7 days ago 7 days ago
Swift Swift
Apache License 2.0 MIT License
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

Needle

Posts with mentions or reviews of Needle. We have used some of these posts to build our list of alternatives and similar projects.

We haven't tracked posts mentioning Needle yet.
Tracking mentions began in Dec 2020.

Swinject

Posts with mentions or reviews of Swinject. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2022-01-21.

What are some alternatives?

When comparing Needle and Swinject you can also consider the following projects:

Weaver - Dependency Injection framework for Swift (iOS/macOS/Linux)

Resolver - Swift Ultralight Dependency Injection / Service Locator framework

Cleanse - Lightweight Swift Dependency Injection Framework

Typhoon - Powerful dependency injection for Objective-C ✨✨ (https://PILGRIM.PH is the pure Swift successor to Typhoon!!)✨✨

Impose - Impose is a simple dependency injection library for Swift

Dip - Simple Swift Dependency container. Use protocols to resolve your dependencies and avoid singletons / sharedInstances!

Locatable - A micro-framework that leverages Swift Property Wrappers to implement the Service Locator pattern

Kraken - Simple Dependency Injection container for Swift. Use protocols to resolve dependencies with easy-to-use syntax!

pilgrim - Dependency injection for Swift (iOS, OSX, Linux). Strongly typed, pure Swift successor to Typhoon.

EasyDi - Effective DI library for rapid development in 200 lines of code.