• 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: Newbie question: Timers
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie question: Timers


  • Subject: Re: Newbie question: Timers
  • From: j o a r <email@hidden>
  • Date: Mon, 30 Jun 2008 14:47:35 -0700


On Jun 30, 2008, at 2:36 PM, Matthew Youney wrote:

In the VS environment, there is a “timer” control that can be dropped onto a
form, and will generate timer events every X milliseconds. How would I
impliment similar functionality in Cocoa, or what would you gurus suggest
that I look into? What is best?


There is no way to do that in IB, you would have to set up the timer in code, but that's easy enough - Check the documentation for the NSTimer class. What are you going to use the timer for? There might be something else that would be better for you to use in Cocoa.

j o a r


_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Newbie question: Timers (From: "Matthew Youney" <email@hidden>)

  • Prev by Date: Re: Newbie question: Timers
  • Next by Date: Re: Why aren't my bindings firing?
  • Previous by thread: Re: Newbie question: Timers
  • Next by thread: Scaled Printing
  • Index(es):
    • Date
    • Thread