On May 26, 2009, at 8:53 PM, Ken Thomases wrote:
On May 26, 2009, at 1:27 PM, Jean-Daniel Dupas wrote:
Le 26 mai 09 à 20:15, Andreas Grosam a écrit :
What would you suggest is the preferred way to add a timer to a
different running thread?
Normally, I would use:
NSRunLoop *runLoop
On May 26, 2009, at 1:27 PM, Jean-Daniel Dupas wrote:
Le 26 mai 09 à 20:15, Andreas Grosam a écrit :
What would you suggest is the preferred way to add a timer to a
different running thread?
Normally, I would use:
NSRunLoop *runLoop = [NSRunLoop currentRunLoop];
[runLoop addTimer:a
Le 26 mai 09 à 20:15, Andreas Grosam a écrit :
What would you suggest is the preferred way to add a timer to a
different running thread?
Normally, I would use:
NSRunLoop *runLoop = [NSRunLoop currentRunLoop];
[runLoop addTimer:aTimer forMode:NSDefaultRunLoopMode];
However, this r
What would you suggest is the preferred way to add a timer to a
different running thread?
Normally, I would use:
NSRunLoop *runLoop = [NSRunLoop currentRunLoop];
[runLoop addTimer:aTimer forMode:NSDefaultRunLoopMode];
However, this requires that it will be invoked from the context