Re: How to program a delay
Re: How to program a delay
- Subject: Re: How to program a delay
- From: "John C. Randolph" <email@hidden>
- Date: Sat, 28 Dec 2002 23:39:37 -0800
On Saturday, December 28, 2002, at 07:19 PM, Simone Manganelli wrote:
I was wondering if there's a command to insert a delay, so that the
program waits a specified amount of time before executing the next
command. Any ideas?
If you want to do this kind of thing with Cocoa, see the NSTimer and
NSThread classes. NSThread has a -sleepUntilDate: method.
-jcr
John C. Randolph <email@hidden> (408) 974-8819
Sr. Cocoa Software Engineer,
Apple Worldwide Developer Relations
http://developer.apple.com/cocoa/index.html
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.