On Wed, Sep 10, 2008 at 8:04 AM, Ken Thomases <[EMAIL PROTECTED]> wrote:
> On Sep 10, 2008, at 4:19 AM, Wesley Smith wrote:
>
>> I'm trying to figure out how I can have my app run a timer that never
>> suspends when the user interacts with menus and the like.
>
> You can use -[NSRunLoop addTimer:fo
On Sep 10, 2008, at 4:19 AM, Wesley Smith wrote:
I'm trying to figure out how I can have my app run a timer that never
suspends when the user interacts with menus and the like.
You can use -[NSRunLoop addTimer:forMode:] to schedule the timer on
additional run-loop modes. You might want to u
Hi,
I'm trying to figure out how I can have my app run a timer that never
suspends when the user interacts with menus and the like. In Carbon,
one can do:
EventLoopRef mainLoop;
EventLoopTimerUPP timerUPP;
EventLoopTimerRef theTimer;
mainLoop = GetMainEventLoop();