Skip navigation.
 
mlRe: Crash when using [NSTimer fire]
FROM : Gwynne
DATE : Fri Nov 19 18:55:10 2004

On Nov 19, 2004, at 12:39 PM, Shawn Erickson wrote:
> Why are using using a timer that way? I don't follow how a timer of 5
> years is useful...
>
> Guessing at what you are attempting to do... consider using an
> NSConditionLock or some such thing if you are trying to gate something
> from running, etc.


It's not always used that way. The timer has a variable interval. The
5-year interval is used when the associated UI object has been disabled
so that I don't have to keep checking whether or not the timer exists.
It's a convenience.

-- Gwynne, key to the Code that runs us all
Email: <email_removed>
Web: http://musicimage.plasticchicken.com/

Related mailsAuthorDate
mlCrash when using [NSTimer fire] Gwynne Nov 19, 18:19
mlRe: Crash when using [NSTimer fire] Shawn Erickson Nov 19, 18:39
mlRe: Crash when using [NSTimer fire] Gwynne Nov 19, 18:55
mlRe: Crash when using [NSTimer fire] Shawn Erickson Nov 19, 19:13
mlRe: Crash when using [NSTimer fire] Gwynne Nov 19, 19:39
mlRe: Crash when using [NSTimer fire] John C. Randolph Nov 20, 00:04