Skip to content
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

For initializer method not found error, add instructions for user on Swift protocols (they require @objc directive to be dynamic) #257

Closed
jasperblues opened this issue Sep 17, 2014 · 2 comments

Comments

@jasperblues
Copy link
Member

No description provided.

@fatuhoku
Copy link
Contributor

Hi @jasperblues, how's it going.

I just opened up #417 because I ran into the 'initializer not found' problem because I wanted my initializer to take two Swift protocols as parameters.

The error was not very clear, that's for sure: and the solution less clearer still. What if I really do want to use Typhoon to declare a Swift component that gets initialized with something that conforms to a Swift protocol? What if I don't want to be forced to have to name my initializer, nor make my protocols be @objc?

Is this officially a limitation of Typhoon? Because right now the only solution I can see is to initialize that component by hand!

@fatuhoku
Copy link
Contributor

Plus, if there was a note written about this, I definitely don't see it! Ah! https://github.com/appsquickly/Typhoon/wiki/Swift-Quick-Start#important

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants