multithreading - UI Update from secondary thread - Performselectoron mainthread or dispatch_get_main_queue -


i using (simplified):

dispatch_async(dispatch_get_main_queue(),^{                     [progresslevel2 setdoublevalue:songcount];                 }); 

id not redo using performselectoronmainthread find have other issue. shouldn't code working?


Comments

Popular posts from this blog

javascript - ScrollTo Effect (href to div) -

javascript - document.registerElement extending HTMLInputElement prototype while using custom tag name to avoid implicit browser style -

javascript - How do I find how many occurences are there of a highlighted string, and which occurence is it? -