Welcome to the MacNN Forums.

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

You are here: MacNN Forums > Software - Troubleshooting and Discussion > Developer Center > Display countdown timer - what class?

Display countdown timer - what class?
Thread Tools
Forum Regular
Join Date: Feb 2005
Status: Offline
Reply With Quote
Sep 21, 2005, 11:15 AM
 
I'm using XCode and Cocoa. For a project I'm working on I would like to display a simple countdown timer.

What class am I looking to use? I have seen some examples with NSDate and NSTimer.

NSTimer seems to work the best because I can trigger a method when the timer is finished.

I'm pretty new to cocoa but I should be able to interpret any code provided.

Thanks in advance!
     
Mac Elite
Join Date: Aug 2001
Status: Offline
Reply With Quote
Sep 21, 2005, 03:21 PM
 
Yeah, I'd probably set up a repeating timer and have it update the counter.
     
   
Thread Tools
Forum Links
Forum Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Top
Privacy Policy
All times are GMT -5. The time now is 07:37 PM.
All contents of these forums © 1995-2011 MacNN. All rights reserved.
Branding + Design: www.gesamtbild.com
vBulletin v.3.8.7 © 2000-2011, Jelsoft Enterprises Ltd., Content Relevant URLs by vBSEO 3.3.2