James Shore describe the concept of Dependency Injection as
“Dependency Injection” is a 25-dollar term for a 5-cent concept. […] Dependency injection means giving an object its instance variables. […].
There are multiple DI framework available for IOS and based on the needs we choose the best suitable framework, we cover some stats and features provided by some famous DI frameworks so it can be helpful for someone while choosing a best suitable solution.
Frameworks | Last Updated | Link | Cocoapod Link | Support Swift | Support Object | Total Downloads |
---|---|---|---|---|---|---|
Typhoon | Feb 2017 | https://github.com/appsquickly/Typhoon | https://cocoapods.org/pods/Typhoon | Yes | Yes | 1,370,144 |
Objection | Jul 2015 | https://github.com/atomicobject/objection | https://cocoapods.org/pods/Objection | No | Yes | 622,893 |
DIP | April 2017 | https://github.com/AliSoftware/Dip | https://cocoapods.org/pods/DIP | Yes | No | 79,257 |
Reliant | Jun 2016 | https://github.com/appfoundry/Reliant | https://cocoapods.org/pods/Reliant | No | Yes | 16,360 |
Blood Magic | Dec 2014 | https://github.com/railsware/BloodMagic | https://cocoapods.org/pods/BloodMagic | No | Yes | 12,182 |
As we can see that there are frameworks which are not being updated by their developers with the latest changes being made in iOS, so those frameworks might create problems while you are creating new applications, also not every framework supports swift (most application are now written in swift) so we have to be very careful while choosing any specific framework.
Typhoon seems to be attracting the most of the developers and I personally found it really good, they also have very good support, when I asked question on their github page, they responded within an hour which was really great. Also they provided a variety of feature set which can be utilized based on the requirements.
USA408 365 4638
1301 Shoreway Road, Suite 160,
Belmont, CA 94002
Whether you are a large enterprise looking to augment your teams with experts resources or an SME looking to scale your business or a startup looking to build something.
We are your digital growth partner.
Tel:
+1 408 365 4638
Support:
+1 (408) 512 1812
COMMENTS ()
Tweet