appsquickly / typhoon

Powerful dependency injection for Objective-C ✨✨ (https://PILGRIM.PH is the pure Swift successor to Typhoon!!)✨✨
https://pilgrim.ph
Apache License 2.0
2.7k stars 269 forks source link

Changed the logic respondToSelector in TyphoonBlockComponentFactory #511

Closed constZinovyev closed 7 years ago

constZinovyev commented 8 years ago

In my case, its need for the test that factory is correctly injected and its selectors contains in TyphoonBlockComponentFactory.

If TyphoonBlockComponentFactory doesn't respondToSelector, try to check that one of the TyphoonDefinition could respondToSelector.

etolstoy commented 8 years ago

Hi, @constZinovyev! Can you please add some tests to verify this behavior?

alexgarbarev commented 7 years ago

Well.. that makes sence. Thanks for the contribution. Will be available in next version.

If you want to check now, try

pod 'Typhoon', :git => 'https://github.com/appsquickly/Typhoon.git', :tag => 'v4'