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
{{ message }}
This repository has been archived by the owner on Jan 2, 2021. It is now read-only.
I'm getting error " definition!.injectProperty("homeStoryboard", with: self.homeStoryboard())"
Error : objc[49398]: Class _NSZombie_FBSXPCMessage is implemented in both ?? (0x600000490b40) and ?? (0x600000490c60). One of the two will be used. Which one is undefined.
@objc func appDelegate() -> AnyObject {
return TyphoonDefinition.withClass(AppDelegate.self, configuration: {
definition in
definition!.injectProperty("homeStoryboard", with: self.homeStoryboard())
definition!.injectProperty("loginStoryboard", with: self.loginStoryboard())
}) as AnyObject
}
@objc func homeStoryboard() -> AnyObject {
return TyphoonDefinition.withClass(TyphoonStoryboard.self, configuration: {
definition in
definition!.useInitializer(#selector(TyphoonStoryboard.init(name:factory:bundle:)), parameters: { initializer in
initializer!.injectParameter(with: "Home")
initializer!.injectParameter(with: self)
initializer!.injectParameter(with: Bundle.main)
})
}) as AnyObject
}
@objc func loginStoryboard() -> AnyObject {
return TyphoonDefinition.withClass(TyphoonStoryboard.self, configuration: {
definition in
definition!.useInitializer(#selector(TyphoonStoryboard.init(name:factory:bundle:)), parameters: { initializer in
initializer!.injectParameter(with: "Login")
initializer!.injectParameter(with: self)
initializer!.injectParameter(with: Bundle.main)
})
}) as AnyObject
}
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Unable to inject storyboard
I'm getting error " definition!.injectProperty("homeStoryboard", with: self.homeStoryboard())"
Error : objc[49398]: Class _NSZombie_FBSXPCMessage is implemented in both ?? (0x600000490b40) and ?? (0x600000490c60). One of the two will be used. Which one is undefined.
The text was updated successfully, but these errors were encountered: