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
Post a Comment