Advertise Mobile SDKs Books Events Forum News Social Networking Support Us
Follow @iphonedevsdk on Twitter

Mockup & CodeGen, iPhone & iPad
($9.99)

Make your own iPhone apps
and run them live!
(free)

Manu
($0.99)

Want your application or service advertised on iPhone Dev SDK?

Go Back   iPhone Dev SDK Forum

View Single Post
Old 07-02-2009, 03:56 AM   #3 (permalink)
Jume
Registered Member
 
Jume's Avatar
 
Join Date: Jul 2008
Location: Slovenia, EU
Posts: 264
Send a message via Skype™ to Jume
Default

Quote:
Originally Posted by mnemonic_fx View Post
You might want to look at the usage of NSTimer method:

Code:
- (id)initWithFireDate:(NSDate *)date interval:(NSTimeInterval)seconds target:(id)target selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)repeats
It will fire at a given date, just calculate the date, add the timer to the run loop.
so is this a good practice to have this timer running at all time and waiting to the right hour to come?
Jume is offline   Reply With Quote
 

» Advertisements
» Stats
Members: 158,806
Threads: 89,205
Posts: 380,620
Top Poster: BrianSlick (7,129)
Welcome to our newest member, philipmores95
Powered by vBadvanced CMPS v3.1.0

All times are GMT -5. The time now is 01:19 AM.
Powered by vBulletin® Version 3.8.0
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.