Packages for keyword “dependency-injection”
These packages are available as a package collection, usable in Xcode or SwiftPM.
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.
GlobalConfModule
Dependency injection or general configuration framework for Swift (any platforms including Linux)
SwiftDI
SwiftDI the new way to use your dependency in Swift 5.1
AnnotationInject
Compile-time Swift dependency injection annotations
cache
A lightweight Swift library for caching Identifiable values with optional expiry, supporting both in-memory and file-backed storage. Designed for testability, composability, and use with swift-dependencies.
swift-service
A lightweight, zero-dependency, type-safe dependency injection framework for Swift.
Ariadne
Elegant and extensible routing framework in Swift
Cleanse
Lightweight Swift Dependency Injection Framework
DependencyInjector
Dependency injector made in pure Swift
DependencyInjectorObjectMapper
Dependency injector Swift support ObjectMapper
InjectableLoggers
A nice set of protocols that will help logger(s) at being loosely coupled, injectable and testable.
snap-dependencies
A simple Dependency Injection Container.
XServiceLocator
Light-weight Service Locator / Dependency Injection library for Swift: providing objects with the dependencies they need throughout your whole iOS app.
Stitch
A lightweight, SwiftUI inspired dependency injection (DI) library that is compile time safe without the need for codegen tooling.
SwinjectLight
Lightweight dependency injection framework for Swift (inspired by Swinject)
service-kit
📦 Dependency injection / inversion of control framework.
DIAttribute
Introduce dependency injection attribute (@Inject)
Inject
A lightweight dependency injection library for Swift and SwiftUI projects.
Injection
Dependency Injection pacakge
Juice
Lightweight dependency injection container with simple fluent interface.