You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This object also registers for property injection:
objection_requires(@"viewController")
My problem:
The viewController won't be injected, because the FindClassOrProtocolForProperty static function in JSObjectionUtils tries to search for a protocol of UIViewController and not ViewInterface.
Is it a bug, or just the result of wrongly using the framework?
Thank you for the answer in advance!
The text was updated successfully, but these errors were encountered:
Excuse me if this issue was reported before (tried to check all the open or closed issues) or this issue is due to my lack of understanding of DI.
I'm trying to bind a class to a protocol like this (ViewController conforms to ViewInterface):
I also have an object, that has a property like this:
This object also registers for property injection:
objection_requires(@"viewController")
My problem:
The viewController won't be injected, because the FindClassOrProtocolForProperty static function in JSObjectionUtils tries to search for a protocol of UIViewController and not ViewInterface.
Is it a bug, or just the result of wrongly using the framework?
Thank you for the answer in advance!
The text was updated successfully, but these errors were encountered: