Swinject is a lightweight dependency injection framework for Swift. Dependency injection (DI) is a software design pattern that implements Inversion of Control (IoC) for resolving dependencies. In the pattern, Swinject helps your app split into loosely-coupled components, which can be developed, tested, and maintained more easily. Swinject is powered by the Swift generic type system and first-class functions to define the dependencies of your app simply and fluently. Services must be registered to a container before they are used. The typical registration approach will differ depending on whether you are using SwinjectStoryboard or not.
Features
- Pure Swift Type Support
- Initializer/Property/Method Injections
- Initialization Callback
- Object Scopes as None (Transient), Graph, Container (Singleton) and Hierarchy
- Support of both Reference and Value Types
- Self-registration (Self-binding)
License
MIT LicenseFollow Swinject
Other Useful Business Software
Loan management software that makes it easy.
Bryt Software is ideal for lending professionals who are looking for a feature rich loan management system that is intuitive and easy to use. We are 100% cloud-based, software as a service. We believe in providing our customers with fair and honest pricing. Our monthly fees are based on your number of users and we have a minimal implementation charge.
Rate This Project
Login To Rate This Project
User Reviews
Be the first to post a review of Swinject!