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
SwinjectStoryboard cannot hold reference to object or it resolves nil object when block of storyboardInitCompleted finished. That's why all objects in my ViewController are nil, it makes my app crash in Swift 4. But in Swift 3.3 is working fine. please help me to solve this problem.
The text was updated successfully, but these errors were encountered:
Have you registered your classes on the SwinjectStoryboard.defaultContainer? The SwinjectStoryboard will use that container by default. I personally use this container to instantiate my Assembler like so:
let assembler = Assembler(container: SwinjectStoryboard.defaultContainer)
assembler.apply(assembly: MyAssembly())
...
SwinjectStoryboard cannot hold reference to object or it resolves nil object when block of storyboardInitCompleted finished. That's why all objects in my ViewController are nil, it makes my app crash in Swift 4. But in Swift 3.3 is working fine. please help me to solve this problem.
The text was updated successfully, but these errors were encountered: