Packages for keyword “dependency-injection”
These packages are available as a package collection, usable in Xcode or SwiftPM.
foundation-dependencies
Lightweight, testable wrappers for Foundation types like UserDefaults, Bundle, and file system access — built for use with swift-dependencies.
Guise
An elegant, flexible, type-safe dependency resolution framework for Swift
Pure
Pure DI in Swift
snap-dependencies
A simple Dependency Injection Container.
BiometricAuthKit
A modern Swift wrapper around Apple's LocalAuthentication framework, making biometric authentication simple, testable, and dependency-injection friendly.
Inject
Effortless modular dependency injection for Swift.
UtilityKit
A curated collection of lightweight Swift libraries that simplify everyday iOS and macOS development.
WeaveDI
WeaveDI(DiContainer)
AuthSessionKit
A modular Swift package for managing authentication session lifecycles, including sign-in, token refresh, biometric gating, and observable authentication state across Apple platforms.
Forge
Dependency injection for Swift that gets out of your way.
GlobalConfModule
Dependency injection or general configuration framework for Swift (any platforms including Linux and Windows)
SwiftDI
SwiftDI the new way to use your dependency in Swift 5.1
swift-keychain
A testable, type-safe keychain and Secure Enclave for Swift: typed keys, a redacting Secret wrapper, biometric gates without surprise prompts, in-memory doubles. Two swift-dependencies clients, Swift 6.
SwinjectLight
Lightweight dependency injection framework for Swift (inspired by Swinject)
AnnotationInject
Compile-time Swift dependency injection annotations
Cleanse
Lightweight Swift Dependency Injection Framework
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.
MicroContainer
A tiny, dependency-free Dependency Injection (DI) container for Swift.
Ariadne
Elegant and extensible routing framework in Swift
DependencyInjector
Dependency injector made in pure Swift