xcode - NSPopButton Stops NSTimer on main thread during selection -


i have multiple timers working on main thread.
, have nspopbutton.
, experience bad behavior, timers don't work, starting point use open pop button's menu until close menu.
ideas?

this because nstimer running on ui thread. should run on thread so:

nstimer *mytimer = … [[nsrunloop mainrunloop] addtimer:mytimer formode:nsrunloopcommonmodes]; 

Comments

Popular posts from this blog

Is there a better way to structure post methods in Class Based Views -

reflection - How to access the object-members of an object declaration in kotlin -

php - Doctrine Query Builder Error on Join: [Syntax Error] line 0, col 87: Error: Expected Literal, got 'JOIN' -