#dependency injection

Logo of swift-dependencies
swift-dependencies
Explore an efficient method for managing dependencies in Swift applications, drawing inspiration from SwiftUI's environment system. The library enhances the management of dependencies, making them more testable and flexible, and addresses common challenges in dependency injection such as propagation, overriding, and testing in different contexts. By supporting robust and predictable application behavior, it aids in managing third-party library dependencies and ensuring SwiftUI preview compatibility. Delve into advanced strategies with comprehensive documentation, practical examples, and active community support.
Logo of clean-architecture-swiftui
clean-architecture-swiftui
Dive into a SwiftUI app project showcasing Clean Architecture with CoreData and Combine for efficient data handling. The project highlights a modular structure with distinct presentation, business logic, and data access layers, offering programmatic navigation and native dependency injection. Built on SOLID principles, it is ideal for scalable and large-scale production environments. Benefit from comprehensive test coverage, including UI tests with ViewInspector.
Logo of carefree-learn
carefree-learn
Carefree-learn facilitates PyTorch deep learning through a module-first approach, minimizing redundant inheritance and applying dependency injection for adaptability. It focuses on user-friendly inference with simple setups and maintains backward compatibility in APIs. Future versions will include advanced training based on cutting-edge AI progressions. As an MIT-licensed solution, carefree-learn provides a straightforward method for integrating PyTorch AI models effectively.
Logo of wire
wire
Wire is a Go code generation tool that enhances dependency injection by automatically linking components via function parameters, promoting clear initialization over global variables. Without relying on runtime state or reflection, Wire ensures efficient setup for Go applications. As a stable and feature-complete beta product, it offers extensive resources including tutorials and best practices.