Swinject VS Needle

Compare Swinject vs Needle and see what are their differences.

Swinject

Dependency injection framework for Swift with iOS/macOS/Linux (by Swinject)

Needle

Compile-time safe Swift dependency injection framework (by uber)
Our great sponsors
  • InfluxDB - Power Real-Time Data Analytics at Scale
  • WorkOS - The modern identity platform for B2B SaaS
  • SaaSHub - Software Alternatives and Reviews
Swinject Needle
6 -
6,178 1,744
0.7% 1.9%
4.2 2.8
6 days ago 6 days ago
Swift Swift
MIT License Apache License 2.0
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.

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.

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.

What are some alternatives?

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

Resolver - Swift Ultralight Dependency Injection / Service Locator framework

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

Cleanse - Lightweight Swift Dependency Injection Framework

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

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

Impose - Impose is a simple dependency injection library for Swift

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

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

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

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