wax.class["FlurryAPI"]:startSession("...")
However, for that to work, I had to call a Flurry method inside
main.m:
int main(int argc, char *argv[]) {
NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init];
wax_startWithExtensions(luaopen_wax_http, luaopen_wax_json,
luaopen_wax_xml, nil);
[FlurryAPI setUserID: @"Test" ];
int retVal = UIApplicationMain(argc, argv, nil, @"AppDelegate");
[pool release];
return retVal;
}
Without that line, wax.class["FlurryAPI"] returned nil. My guess is
it's because FlurryAPI only contains static methods.. ?
Ryan