Packages for keyword “dependency-injection”
These packages are available as a package collection, usable in Xcode or SwiftPM.
WeaveDI
WeaveDI(DiContainer)
foundation-dependencies
Lightweight, testable wrappers for Foundation types like UserDefaults, Bundle, and file system access — built for use with swift-dependencies.
Inject
Effortless modular dependency injection for Swift.
sword
🗡️ A compile time dependency injection library for Swift
files
A lightweight Swift library for managing file system resources in a protocol-oriented way. Provides abstractions for files and directories, supporting safe and efficient file operations.
SwiftDI
SwiftDI the new way to use your dependency in Swift 5.1
SwinjectLight
Lightweight dependency injection framework for Swift (inspired by Swinject)
AnnotationInject
Compile-time Swift dependency injection annotations
Cleanse
Lightweight Swift Dependency Injection Framework
GlobalConfModule
Dependency injection or general configuration framework for Swift (any platforms including Linux and Windows)
SwiftUI Dependencies
💉 SwiftUI-Environment based dependency injection
Ariadne
Elegant and extensible routing framework in Swift
DependencyInjector
Dependency injector made in pure Swift
DependencyInjectorObjectMapper
Dependency injector Swift support ObjectMapper
Forge
Dependency injection for Swift that gets out of your way.
InjectableLoggers
A nice set of protocols that will help logger(s) at being loosely coupled, injectable and testable.
Stitch
A lightweight, SwiftUI inspired dependency injection (DI) library that is compile time safe without the need for codegen tooling.
XServiceLocator
Light-weight Service Locator / Dependency Injection library for Swift: providing objects with the dependencies they need throughout your whole iOS app.
IDGenerator
A flexible, keyed registry of ID generators for Swift, inspired by swift-dependencies by Point-Free.
service-kit
📦 Dependency injection / inversion of control framework.