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 -

performance - Why is XCHG reg, reg a 3 micro-op instruction on modern Intel architectures? -

jquery - Responsive Navbar with Sub Navbar -