Top "Nstimer" questions

An Objective C class for creating timer objects.

NSTimer crashes, when I call [Timer isValid] or [Timer invalidate]

I have two NSTimers in my iPhone app. DecreaseTimer works fine, but TimerCountSeconds crashes when I call [timerCountSeconds isValid] or […

iphone objective-c xcode crash nstimer
NSTimers running in background?

I was under the impression that NSTimer did not work at all after an application calls applicationWillResignActive. I seems however …

iphone objective-c cocoa-touch nstimer
Objective-C : NSTimer and countdown

I know that I should understand Apple's documentation for NSTimer, but I don't! I have also read a lot of …

objective-c xcode4 nstimer countdown
Best time to invalidate NSTimer inside UIViewController to avoid retain cycle

Does any one know when is the best time to stop an NSTimer that is held reference inside of a …

iphone objective-c memory-management memory-leaks nstimer
iPhone dev -- performSelector:withObject:afterDelay or NSTimer?

To repeat a method call (or message send, I guess the appropriate term is) every x seconds, is it better …

iphone nstimer tail-recursion repeat
NSTimer not calling Method

I have an NSTimer that should call a method every second, but it doesn't seem to be calling it at …

ios objective-c swift nstimer
NSTimer doesn't stop with invalidate

I add timer like this tim=[NSTimer scheduledTimerWithTimeInterval:1 target:self selector:@selector(repeatTim) userInfo:nil repeats:YES]; [[NSRunLoop mainRunLoop] addTimer:…

ios nstimer invalidation
NSTimer and NSRunLoop

My app tracks a user with CLLocationManager. In the delegate call didUpdateToLocation I do all the fun stuff of saving …

objective-c nstimer cllocationmanager nsrunloop
How to create Countdown with 10th of a second?

HI I have already created a countdown in second, lets say 10 second, but I want to make it more precise …

cocoa-touch ios nstimer countdown
How do I count time in iOS?

I don't want to set up a timer that "fires" (and does something) after a certain amount of time has …

objective-c ios nsdate nstimer nstimeinterval