Dependency injection for iOS (Swift)
DITranquillity
What is DITranquillity?
The small library for dependency injection in applications written on pure Swift for iOS/OSX/tvOS. Despite its size, it solves a large enough range of tasks, including Storyboard support. Its main advantage – modularity of support, detailed errors description and lots of opportunities.
Features:
- Tranquillity
- Pure Swift Type Support
- Initializer injections ru
- Property, Method injections ru
- Named, Tags definitions and Many ru
- Type forwarding ru
- Lifetimes: single, perRun(weak/strong), perContainer(weak/strong), objectGraph, prototype, custom ru
- iOS/macOS Storyboard and StoryboardReference ru
- Circular dependencies ru
- Three level hierarchy: types, part, framework ru
- Short resolve syntax ru
- keyPath injection (since swift4.0) ru
- Very detail logs ru
- Validation at the run app ru
- Injection into Subviews and cells ru
- Support Delayed injection ru
- Injection with arguments at any depth
- Container Hierarchy
- Thread safe
Overview
- Pricing: Free
- Resource Link: https://github.com/ivlevAstef/DITranquillity
- Resource Maker: Ivlev Alexander
- Mobile Platform Destination: iOS Apps
- Mobile Platform Support: Native iOS
- Programming Languages: Swift
- iOS Versions Supported: iOS 8.0+, iOS 9.0+, iOS 10.0+, iOS 11.0+, iOS 12.0+
- CocoaPods: DITranquillity
- Carthage: ivlevAstef/DITranquillity
The team behind mobintouch
Website: https://www.mobintouch.com
Resources added 👉 3142
Related resources
realm-cocoa
Realm is a mobile database: a replacement for Core Data & SQLite
Localizations
macOS app that manages localizations of Xcode projects
Result
Swift type modeling the success/failure of arbitrary operations