• 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: time-triggered-function
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: time-triggered-function


  • Subject: Re: time-triggered-function
  • From: Sherm Pendley <email@hidden>
  • Date: Fri, 28 Oct 2005 03:17:00 -0400

On Oct 28, 2005, at 2:35 AM, David Chan wrote:

I am writing an Objective C application at the moment and I have a function
which I would like to call at certain interval (specified by user), let say,
every 5 minutes, whenever the application is running. I was wondering how I
could do that in Objective-C

Create a repeating NSTimer that calls the function at the specified intervals.


sherm--

Cocoa programming in Perl: http://camelbones.sourceforge.net
Hire me! My resume: http://www.dot-app.org

_______________________________________________
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


  • Follow-Ups:
    • Re: time-triggered-function
      • From: David Chan <email@hidden>
References: 
 >time-triggered-function (From: David Chan <email@hidden>)

  • Prev by Date: Re: time-triggered-function
  • Next by Date: Re: performSelectorOnMainThread
  • Previous by thread: Re: time-triggered-function
  • Next by thread: Re: time-triggered-function
  • Index(es):
    • Date
    • Thread