Re: Crash when using [NSTimer fire]
Re: Crash when using [NSTimer fire]
- Subject: Re: Crash when using [NSTimer fire]
- From: Gwynne <email@hidden>
- Date: Fri, 19 Nov 2004 12:55:10 -0500
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@hidden
Web: http://musicimage.plasticchicken.com/
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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