timers and event loops
timers and event loops
- Subject: timers and event loops
- From: William Turner <email@hidden>
- Date: Tue, 29 Nov 2005 10:00:51 -0500
I'm using an NSTimer to animate a scene in an NSOpenGLView. The
window contains a popup button and some other widgets. When the popup
button is pressed (exposing its menu), the animation stops. This is
true of any interaction with any of the widgets.
My suspicion is that the timer is not firing because the widgets are
interrupting the main run loop (on which the timer is registered).
Have other people encountered this and is there a standard approach
to dealing with it? I can put the timer in a different loop by
spawning a thread to manage it, but I'm curious to know if this is
the only (and best) way.
Wil
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden