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

请教个问题 #5

Open
ApesTalk opened this issue Mar 28, 2019 · 0 comments
Open

请教个问题 #5

ApesTalk opened this issue Mar 28, 2019 · 0 comments

Comments

@ApesTalk
Copy link

如果我这样使用的话,数组a却依然是空的,这是为什么呢?

NSString *str = @"var a = callClassMethod('NSMutableArray', 'array'); "
"var n = callClassMethod('NSNumber', 'numberWithInteger:', 1024); "
"callInstanceMethod(a, 'addObject:', n); "
"console.log(a);"
"})";
[Felix evalString:str];

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

1 participant