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."
SafeDI
Compile-time-safe dependency injection for Swift without the boilerplate
Swinject
Dependency injection framework for Swift with iOS/macOS/Linux
DITranquillity
Dependency injection for iOS (Swift)
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
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
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.
SecurePropertyStorage
Helps you define secure storages for your properties using Swift property wrappers.
swift-service
A lightweight, zero-dependency, type-safe dependency injection framework for modern Swift.
FieryCrucible
A minimalist type safe Swift dependency injection library
Skein
A swift-first dependency injection framework
SwinjectStoryboard
Swinject extension for automatic dependency injection via Storyboard
cache
A lightweight Swift library for caching Identifiable values with optional expiry, supporting both in-memory and file-backed storage.
Crocodil
Macro-Powered Dependency Injection for Swift
SwinjectAutoregistration
Swinject extension to automatically register your services
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.