Appcelerator iOS Module -


i creating module card reader have used nsrunloop. nsrunloop not being called , stuck in middle of no mans land. following line of code not being executed while running on device.

nsrunloop *therl = [nsrunloop currentrunloop]; nsdate *loopuntil = [nsdate datewithtimeintervalsincenow:0.1;                            while (dialogopen == true && [therl runmode:nsdefaultrunloopmode beforedate:loopuntil]){     nslog(@"while loop"); } 

can achieved via appcelerator can substitute above objective-c code appcelerator code.

try put nslog numbers after each line , see gets stuck.

do have errors or app crash?

did check while condition evals true?


Comments

Popular posts from this blog

java - activate/deactivate sonar maven plugin by profile? -

python - TypeError: can only concatenate tuple (not "float") to tuple -

java - What is the difference between String. and String.this. ? -