Currently, I am developing an appcelerator module using Xcode and programming in obj-C.
One of the methods I have created accepts multiple arguments, as shown below:
-(void)useThis:(NSString*)this withThat:(NSString*)that{}
My question is, how do I invoke this method in appcelerator? What is the correct syntax to use?
var foo = require("module");
foo.useThiswithThat("this","that");
I've attempted the above code but it doesn't appear to be working.