Swift Dependency Injection

Open-source Swift projects categorized as Dependency Injection Edit details

Top 18 Swift Dependency Injection Projects

  • Swinject

    Dependency injection framework for Swift with iOS/macOS/Linux

    Project mention: Awesome macOS Libraries List | dev.to | 2022-01-21

    Swinject - Dependency injection framework for Swift. Language: Swift.

  • Resolver

    Swift Ultralight Dependency Injection / Service Locator framework

    Project mention: On using Dependency Injection with MVVM | reddit.com/r/iOSProgramming | 2022-08-17

    If you're looking in to using a framework instead of doing it manually, I prefer Resolver over Swinject but both will work.

  • Appwrite

    Appwrite - The Open Source Firebase alternative introduces iOS support. Appwrite is an open source backend server that helps you build native iOS applications much faster with realtime APIs for authentication, databases, files storage, cloud functions and much more!

  • Cleanse

    Lightweight Swift Dependency Injection Framework

  • Needle

    Compile-time safe Swift dependency injection framework

  • Weaver

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

  • iOSSampleApp

    Sample iOS app demonstrating Coordinators, Dependency Injection, MVVM, Binding

    Project mention: A curated list of Open Source example iOS apps developed in Swift | dev.to | 2021-12-06

    iOSSampleApp - Sample iOS app demonstrating Coordinators, Dependency Injection, MVVM, Binding

  • DITranquillity

    Dependency injection for iOS (Swift)

  • talent.io

    Download talent.io’s Tech Salary Report. Median salaries, most in-demand technologies, state of the remote work... all you need to know your worth on the market by tech recruitment platform talent.io

  • Pure

    Pure DI in Swift (by devxoul)

  • Deli

    Deli is an easy-to-use Dependency Injection(DI).

  • Locatable

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

  • DIKit

    Dependency Injection Framework for Swift, inspired by KOIN.

  • pilgrim

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

  • Corridor

    A Coreader-like Dependency Injection μFramework

  • Guise

    An elegant, flexible, type-safe dependency resolution framework for Swift (by Prosumma)

  • AnnotationInject

    Compile-time type safe Swift dependency injection annotations

  • Impose

    Impose is a simple dependency injection library for Swift

  • StoryboardBuilder

    Simple dependency injection for generating views from storyboard.

  • ViperServices

    Simple dependency injection container for services written for iOS in swift supporting boot order

  • Scout APM

    Truly a developer’s best friend. Scout APM is great for developers who want to find and fix performance issues in their applications. With Scout, we'll take care of the bugs so you can focus on building great things 🚀.

NOTE: The open source projects on this list are ordered by number of github stars. The number of mentions indicates repo mentiontions in the last 12 Months or since we started tracking (Dec 2020). The latest post mention was on 2022-08-17.

Swift Dependency Injection related posts


What are some of the best open-source Dependency Injection projects in Swift? This list will help you:

Project Stars
1 Swinject 5,440
2 Resolver 1,860
3 Cleanse 1,705
4 Needle 1,374
5 Weaver 669
6 iOSSampleApp 608
7 DITranquillity 391
8 Pure 357
9 Deli 134
10 Locatable 116
11 DIKit 96
12 pilgrim 59
13 Corridor 58
14 Guise 52
15 AnnotationInject 40
16 Impose 9
17 StoryboardBuilder 5
18 ViperServices 5
Find remote jobs at our new job board 99remotejobs.com. There are 5 new remote jobs listed recently.
Are you hiring? Post a new remote job listing for free.
Clean code begins in your IDE with SonarLint
Up your coding game and discover issues early. SonarLint is a free plugin that helps you find & fix bugs and security issues from the moment you start writing code. Install from your favorite IDE marketplace today.