• 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
Countdown timer
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Countdown timer


  • Subject: Countdown timer
  • From: "John C. Welch" <email@hidden>
  • Date: Mon, 21 Mar 2011 17:50:25 -0400
  • Thread-topic: Countdown timer

Okay, so I'm writing a score/timer application for the local roller derby
team, and most of it is pretty skate, but the one thing stumping me is the
timers. I need three countdown timers, all running minutes:seconds

The IB part seems simple, use a text field with a date formatter that's set
up as padded minutes:padded seconds.

However, in looking around, all the date info I can find deals with "real"
dates and times, or calendar pickers. There's not much on arbitrary stuff
like this. On setting the initial value, is it text, is it a number?

I can set off a timer to fire once a second, but then if the value is text,
do I have to keep a number value around, decrement it by one, then convert?

Any tips?

--
I had no system of shooting as such. It is definitely more in the feeling
side of things that these skills develop. I was at the front five and a half
years, and you just got a feeling for the right amount of lead.
-- Lt. General Guenther Rall, GAF.


 _______________________________________________
Do not post admin requests to the list. They will be ignored.
applescriptobjc-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Countdown timer
      • From: "John C. Welch" <email@hidden>
  • Prev by Date: Re: Checkbox in an NSTable, not getting right selectedObject()...
  • Next by Date: Re: Countdown timer
  • Previous by thread: Re: Checkbox in an NSTable, not getting right selectedObject()...
  • Next by thread: Re: Countdown timer
  • Index(es):
    • Date
    • Thread