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

emit not accessibel in swift #13

Closed
mvdevries opened this issue Sep 24, 2014 · 1 comment
Closed

emit not accessibel in swift #13

mvdevries opened this issue Sep 24, 2014 · 1 comment

Comments

@mvdevries
Copy link

The method emit is not accessible in swift because it is a variadic method.

I had a accessible socket class through a bridging header and every method was accessible except for emit.

I also tried a solution from Stack, http://stackoverflow.com/questions/24195796/how-do-you-call-an-objective-c-variadic-method-from-swift but i didn't got it to work.

A possible workaround would be a method with a NSArray as argument like this:
schermafbeelding 2014-09-24 om 22 38 08

This is the call in swift:
schermafbeelding 2014-09-24 om 22 40 28

@changeYi
Copy link

+1

This issue was closed.
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