Packages for keyword “dependency-injection”
These packages are available as a package collection, usable in Xcode or SwiftPM.
DependencyInjectorObjectMapper
Dependency injector Swift support ObjectMapper
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.
SwiftUI Dependencies
💉 SwiftUI-Environment based dependency injection
XServiceLocator
Light-weight Service Locator / Dependency Injection library for Swift: providing objects with the dependencies they need throughout your whole iOS app.
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
Jec
Modern Swift dependency inJECtion
Juice
Lightweight dependency injection container with simple fluent interface.
Stitcher
A dependency management and injection library for Swift projects
IDGenerator
A flexible, keyed registry of ID generators for Swift, inspired by swift-dependencies by Point-Free.
StitcherMacros
A set of meta programming utilities designed to work with the Stitcher library.
Impose
Impose is a simple dependency injection library for Swift
MicroInjection
A tiny (40 lines or ~100 lines including documentation, comments and whitespace) dependency injection framework that can be used in a similar way to the SwiftUI environment
Saber
Dependency injection (DI) & Inversion of Control (IoC) command line tool for Swift based on code generation
Injector
A Swift package for simple dependency injection that also supports Swift UI previews.