Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Dependency injection framework for Cocoa? [closed]

Interface Builder can be used for basic dependency injection in a Cocoa app, but is anyone aware of more complete dependency injection frameworks for Objective-C/Cocoa for when you don't want to instantiate objects in a NIB file?

Edit

To clarify, I recognize that IB can be used for basic DI, but I'm looking for a framework with more complete functionality, including separate production and testing configurations, along the lines of Groovy or Springs.

like image 240
Barry Wark Avatar asked Nov 21 '08 18:11

Barry Wark


People also ask

Which framework is used for dependency injection?

Spring.NET is one of the popular open source frameworks for Dependency Injection. Spring.NET supports . NET 4.0, . NET Client Profile 3.5 and 4.0, Silverlight 4.0 and 5.0, and Windows Phone 7.0 and 7.1.

Do I need a framework for dependency injection?

Dependency injection doesn't strictly require frameworks – Code smells series.

Which is best dependency injection?

Constructor Injection This is the best method we have looked at so far. When using a constructor to set injected properties, you do not have to provide the autowire annotation.


1 Answers

objection by AtomicObject. It is molded in the image of Guice.

like image 59
justice Avatar answered Sep 22 '22 00:09

justice