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
AppState
🧠 Effortless State Management and Dependency Injection for Swift 6 Applications
swift-dependencies-additions
More dependencies for `swift-dependencies`
swiftui-atom-properties
⚛️ Atomic approach state management and dependency injection for SwiftUI
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
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.
Skein
A swift-first dependency injection framework
swift-service
A lightweight, zero-dependency, type-safe dependency injection framework for modern 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
sword
🗡️ A compile time dependency injection library for Swift
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).