Syringe is a free and open source, ultra-lightweight, simplistic dependency injection framework for Objective-C, heavily inspired by similar tools from Java world, like Spring or Google Guice.
Syringe is very simple to use. Classes you want to be injected just need to implement one empty protocol.
There is no configuration; framework magically discovers all injectable objects, and eagerly creates instance cache. See below for installation instructions.
What is dependency injection?
If you have Java background, you probably know what Spring Framework is. And you probably miss it on iOS. If you are iOS programmer and hear this term first time, have a educational reading before moving on.
Detailed instructions on how you can use the Syringe framework within your own projects are available HERE.
· Apple Xcode