widget plugin crashed when i use thread

2010-01-12 Thread Sam Tseng
hi, i would like to implement a widget plugin to detect iTunes current artist and current album call back to widget. i ran my widget plugin in dashcode without crashing. however, i deployed the widget into dashboard, it crashed all the time. following is part of my codes, could any one give me hin

Re: widget plugin crashed when i use thread

2010-01-12 Thread Sam Tseng
it) NSArray* args = [NSArray arrayWithObjects:   trackInfo,                         nil]; [webScriptObject callWebScriptMethod:@"_updateInfo" withArguments:args]; i've read ADC documentation, but i still can't figure it out. please teach me. thank you in advance