ios-di
CommunityExplicit DI patterns for robust SwiftUI apps
Software Engineering#testing#architecture#swiftui#dependency-injection#protocol-oriented#di-container
AuthordimitriRemoiville
Version1.0.0
Installs0
System Documentation
What problem does it solve?
Dependency injection helps structure and decouple components in iOS apps, enabling easier testing and maintainability.
Core Features & Use Cases
- Protocol-oriented DI: define dependencies as protocols and provide concrete implementations at the composition root.
- Testability: facilitate easy swapping with mocks or stubs in unit tests.
- App architecture guidance: demonstrates no singletons, constructor injection, and explicit dependencies across view models, use cases, and repositories.
Quick Start
Set up a DIContainer at app startup and inject dependencies into a sample view model.
Dependency Matrix
Required Modules
None requiredComponents
Standard package💻 Claude Code Installation
Recommended: Let Claude install automatically. Simply copy and paste the text below to Claude Code.
Please help me install this Skill: Name: ios-di Download link: https://github.com/dimitriRemoiville/cc-mobile/archive/main.zip#ios-di Please download this .zip file, extract it, and install it in the .claude/skills/ directory.
Agent Skills Search Helper
Install a tiny helper to your Agent, search and equip skill from 471,000+ vetted skills library on demand.