-
Notifications
You must be signed in to change notification settings - Fork 268
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't get Typhoon to work in Swift project #356
Comments
Hi @alexmaie ! Sorry for the delay in reply. The best place to ask general questions is StackOverflow - usually gets a faster response. Can you post the actual error that was thrown? |
Yo @jasperblues This is the error
|
Be sure to mark the initializer as dynamic otherwise Swift will optimize it in a way that it can't be invoked via the ObjC runtime: public dynamic init(Configsource: ConfigurationSourceProtocol ) |
@alexmaie Let's move this question over to StackOverflow. It look like a config issue, however if we discover a bug, we can open one here. |
Hey Jasper SOrry for my late response, but I had to work on another project and couldnt test out the dynamic addition. Because of Protocol ConfigurationSourceProtocol, that was using an generic enum, I could not get the project to compile. I had to remove the generic enum and afterwards everything worked fine :) |
@alexmaie Glad to hear its working now. . yes, Typhoon is a little more tricky with Swift, but at least the syntax in Swift is nice to look at :) |
I agree :) . Would have hoped to come up with a better error handling On Sat, May 30, 2015 at 2:59 PM, Jasper Blues notifications@github.com
|
Hey guys,
I have the following class
and Assembly
Now, if i want to resolve the HuntConfiguration class
I get an exception in method
I don't know how to solve the problem
The text was updated successfully, but these errors were encountered: