Packages for keyword “dependency-injection”
These packages are available as a package collection, usable in Xcode or SwiftPM.
Factory
A modern approach to Container-Based Dependency Injection for Swift and SwiftUI.
swift-dependencies
A dependency management library inspired by SwiftUI's "environment."
Swinject
Dependency injection framework for Swift with iOS/macOS/Linux
SafeDI
Compile-time-safe dependency injection for Swift without the boilerplate
swift-dependencies-additions
More dependencies for `swift-dependencies`
swiftui-atom-properties
⚛️ Atomic approach state management and dependency injection for SwiftUI
AppState
🧠 Effortless State Management and Dependency Injection for Swift 6 Applications
DITranquillity
Dependency injection for iOS (Swift)
SecurePropertyStorage
Helps you define secure storages for your properties using Swift property wrappers.
SwinjectStoryboard
Swinject extension for automatic dependency injection via Storyboard
napkin
Swift 6.2 framework for clean-architecture apps as a tree of isolated, composable units. Modeled on Uber's RIBs, rebuilt around Swift Concurrency.
DIKit
Swift library that allows you to use a dependency injection pattern in your project by creating a container that holds all the dependencies in one place
swift-service
A lightweight, zero-dependency, type-safe dependency injection framework for modern Swift.
sword
🗡️ A compile time dependency injection library for Swift
Crocodil
Macro-Powered Dependency Injection for Swift
FieryCrucible
A minimalist type safe Swift dependency injection library
SwinjectAutoregistration
Swinject extension to automatically register your services
cache
A lightweight Swift library for caching Identifiable values with optional expiry, supporting both in-memory and file-backed storage.
Deli
Deli is an easy-to-use Dependency Injection(DI).
foundation-dependencies
Lightweight, testable wrappers for Foundation types like UserDefaults, Bundle, and file system access — built for use with swift-dependencies.