0

From past thread: Dependency injection framework for Cocoa?, although it was said that IoC framework is not needed to dynamic language such as Obj-C, but people often missed one of the core feature - wiring of class at runtime., they are important for compiled language such as Obj-C

There are some so existing so called IoC containers for Obj-C such as objection which still require you to hack the code in order to change the implementation.

Are there any similar tool like spring you can alter the implementations and auto-wire for example, using an XML file?

Community
  • 1
  • 1
Ryan
  • 10,041
  • 27
  • 91
  • 156

1 Answers1

1

Why not use InterfaceBuilder? It's basically what it does. The objects don't need to be UI components.

Anders Johansen
  • 10,165
  • 7
  • 35
  • 52
  • It's reasonably well documented, and you can in fact edit it directly or generate the files yourself from code. http://www.monobjc.net/index.php?page=xib-file-format – Anders Johansen Sep 26 '12 at 10:12