• 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
Creating a small timer?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Creating a small timer?


  • Subject: Creating a small timer?
  • From: Michael Abendroth <email@hidden>
  • Date: Mon, 9 Nov 2009 18:19:08 +0100

Hi,

I would like to create a small timer. Basically, the timer sits in a
view. When the view is shown, the timer should start, and when the
view is hidden / closed, the timer should stop. While the view is
visible, the user should be able to access controls / manipulate
values inside the view.
How can I create such a timer?  I mean, it probably isn't very
efficient to redraw the whole view every second just to get the timer
to update. But is creating a separate thread just for the timer
necessary (I doubt that)?
Thanks for any input,

Mike
_______________________________________________

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

  • Follow-Ups:
    • Re: Creating a small timer?
      • From: Jens Alfke <email@hidden>
    • Re: Creating a small timer?
      • From: Nick Zitzmann <email@hidden>
  • Prev by Date: Re: Dialog boxes with dynamic contents
  • Next by Date: Re: beginner question, NSNumber, NSDecimalAsNumber
  • Previous by thread: Re: Dialog boxes with dynamic contents
  • Next by thread: Re: Creating a small timer?
  • Index(es):
    • Date
    • Thread