Packages for keyword “dependency-injection”
These packages are available as a package collection, usable in Xcode or SwiftPM.
AnnotationInject
Compile-time Swift dependency injection annotations
Cleanse
Lightweight Swift Dependency Injection Framework
Ariadne
Elegant and extensible routing framework in Swift
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.
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)
XServiceLocator
Light-weight Service Locator / Dependency Injection library for Swift: providing objects with the dependencies they need throughout your whole iOS app.
Injection
Dependency Injection pacakge
Stitcher
A dependency management and injection library for Swift projects
service-kit
📦 Dependency injection / inversion of control framework.
StitcherMacros
A set of meta programming utilities designed to work with the Stitcher library.
DIAttribute
Introduce dependency injection attribute (@Inject)
Inject
A lightweight dependency injection library for Swift and SwiftUI projects.
Juice
Lightweight dependency injection container with simple fluent interface.
swift-libs
A collection of reusable patterns, protocols, classes, structs, and extensions we have been using in our Swift code from some time now, grouped into libraries based on purpose.
Impose
Impose is a simple dependency injection library for Swift
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.