• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: How to program a delay
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

References: 
 >How to program a delay (From: Simone Manganelli <email@hidden>)

  • Prev by Date: Re: Getting Mouse Moved Events
  • Next by Date: Re: Newbie Question regarding Tutorials and Project Builder
  • Previous by thread: How to program a delay
  • Next by thread: Re: How to program a delay
  • Index(es):
    • Date
    • Thread