Dependency injection framework for Swift with iOS/macOS/Linux
-
Updated
May 29, 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
Swinject extension for automatic dependency injection via Storyboard
Lightweight Swift Dependency Injection Framework
Sample iOS app demonstrating Coordinators, Dependency Injection, MVVM, Binding
A dependency management library inspired by SwiftUI's "environment."
Movies app written in Swift 5 using the TMDb API and demonstrating Clean Architecture, Dependency Injection, MVVM and Coordinators.
Swinject extension to automatically register your services
Sample iOS application in Swift presenting MVVM-C architecture
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🔥
Dependency injection for iOS (Swift)
More dependencies for `swift-dependencies`
iOS TV Shows app with TMDb Api. Combine, MVVM + Coordinator. Modular Architecture. Swift Package Manager
A sample project demonstrating MVVM, RxSwift, Coordinator Pattern, Dependency Injection
A simple example to use Swinject with unit tests
A Swift dependency injection / lookup framework for iOS
Helps you define secure storages for your properties using Swift property wrappers.
An example of MVVM using RxSwift and Swinject (DI)
Created by Martin Fowler
Released January 23, 2004