Re: Problems with performSelector:withObject:afterDelay:
Re: Problems with performSelector:withObject:afterDelay:
- Subject: Re: Problems with performSelector:withObject:afterDelay:
- From: "John C. Randolph" <email@hidden>
- Date: Tue, 9 Nov 2004 18:50:23 -0800
On Jul 24, 2004, at 8:20 PM, April Gendill wrote:
I was poking around in the different classes and came across NSTimer.
Would NSTimer over come this issue all together?
It should. Keep in mind that if you have some definite number of
invocations that must happen, you should register for the
relevant sleep/wake notifications. If an NSTimer misses one of its
fire dates because the machine was asleep, it will just
skip that one.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
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