Dependency injection framework for Swift with iOS/macOS/Linux
-
Updated
Jul 24, 2024 - Swift
Dependency injection (DI) is an implementation of the dependency inversion principle with the aim of separation of concerns by separating the depndency's implementation from the class that's using it. That kind of abstraction makes it possible to have different implementations with the same public methods so the class using it, doesn't need to care which of the implementations is used. This is also especially useful for unit testing.
There are different types of dependency injection:
Dependency injection framework for Swift with iOS/macOS/Linux
A dependency management library inspired by SwiftUI's "environment."
Lightweight Swift Dependency Injection Framework
Sample iOS app demonstrating Coordinators, Dependency Injection, MVVM, Binding
Movies app written in Swift 5 using the TMDb API and demonstrating Clean Architecture, Dependency Injection, MVVM and Coordinators.
Helps you define secure storages for your properties using Swift property wrappers.
Dependency injection for iOS (Swift)
An example to use Swinject in MVVM architecture with ReactiveCococa
🗽 NY Times is an Minimal News 🗞 iOS app 📱 built to describe the use of SwiftSoup and CoreData with SwiftUI🔥
More dependencies for `swift-dependencies`
⚛️ Atomic approach state management and dependency injection for SwiftUI
Swinject extension for automatic dependency injection via Storyboard
Swinject extension to automatically register your services
A Swift dependency injection / lookup framework for iOS
A framework for assisting in the renovation of iOS componentization
Sample iOS application in Swift presenting MVVM-C architecture
iOS TV Shows app with TMDb Api. Async-await, MVVM + Coordinator. Modular Architecture. Swift Package Manager
Compile-time-safe dependency injection in Swift
Created by Martin Fowler
Released January 23, 2004