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

angular - DownloadURL return null in below code -

meteor - inserting data to database gives error "insert failed: Method '/texts/insert' not found" -