Objection is a free and open source, lightweight dependency injection framework for Objective-C, with support for Mac OS X and iOS.
Objection was built to stay out of your way and alleviate the need to maintain a large XML container or manually construct objects.
Detailed instructions on how to use the Objection framework within your own Objective-C projects are available HERE.
Here are some key features of "Objection":
- "Annotation" Based Dependency Injection
- Lazily instantiates dependencies
- Eager Singletons
- Initializer Support:
- Default and custom arguments
- Seamless support for integrating custom and external dependencies:
- Custom Object Providers
- Meta Class Bindings
- Protocol Bindings
- Instance Bindings