atomicobject / objection

A lightweight dependency injection framework for Objective-C
http://www.objection-framework.org
MIT License
1.85k stars 223 forks source link

Added scope support for providers and blocks #45

Closed BrynCooke closed 10 years ago

BrynCooke commented 11 years ago

Perhaps this could all be merged in to a shared base class for JSObjectionProviderEntry and JSObjectionInjectorEntry.

jdewind commented 11 years ago

Thanks for the pull request! I'll try and take a look at in the next couple of days.

amrox commented 11 years ago

+1 this would be useful to me as well

BrynCooke commented 11 years ago

Hi, Is there anything I can do to help get this merged?

jdewind commented 11 years ago

Hi Bryn,

Can you merge in the latest upstream changes and resolve any conflicts and I'll merge in the PR.

NachoSoto commented 11 years ago

This would be very helpful for me too. I had to build my own object cache because of the lack of support for this.

BrynCooke commented 11 years ago

Hi I have merged. However Objection is no longer compiling for me I think due to my XCode upgrade therefore I can't run the tests. I don't know enough about xcode to sort this out at the moment.

alexmdc commented 10 years ago

Hello, it is also possible to get scope support added for the bindClass: methods? I suppose the same effect could be achieved by using blocks or providers, but adding this would complete the JSObjectModule interface I believe.