Closed chandrapal199 closed 6 years ago
Hi @chandrapal199 this looks more like a problem with your storyboard setup than Swinject configuration.
It is hard to say without seeing your storyboard, although couple of things that come to mind:
collectionView
part of a view hierarchy of BZConnectSocialAcccountViewC
? @IBOutlet weak var collectionView
properly linked in storyboard? @IBOutlet weak var collectionView
not-weak
?It is properly connected in storyboard. Please check in screen shot.
Can you please give me some idea to inject a dependency on sub-class.
@chandrapal199, do you still have the issue? Or did you resolve the issue yourself?
I took another way to handle this problem.
On Wed, Sep 20, 2017 at 5:01 PM, Yoichi Tagaya notifications@github.com wrote:
@chandrapal199 https://github.com/chandrapal199, do you still have the issue? Or did you resolve the issue yourself?
— You are receiving this because you were mentioned. Reply to this email directly, view it on GitHub https://github.com/Swinject/SwinjectStoryboard/issues/60#issuecomment-330824277, or mute the thread https://github.com/notifications/unsubscribe-auth/ActdrRegOXGX5ulWZQYuQVegHab_Ylw1ks5skPehgaJpZM4OVL4K .
--
Regards,Chandrapal Singh
Thanks for handling the problem👍
I have created a subclass of UICollectionView and assigned this custom class into storyboard's collection view. I have to inject a shared object in that custom class.
c.collectionView in getting nil