Top "Nstimer" questions

An Objective C class for creating timer objects.

Passing parameters to the method called by a NSTimer

How can I pass a parameter to the method called by a NSTimer? My timer looks like this: [NSTimer scheduledTimerWithTimeInterval:4 …

objective-c cocoa-touch selector nstimer
Creating an iOS Timer

I am trying to create a "stop watch" type functionality. I have one label (to display the elapsed time) and …

objective-c nstimer
IOS: stop a NSTimer

Possible Duplicate: NSTimer doesn't stop I have this code: [NSTimer scheduledTimerWithTimeInterval:110.0 target:self selector:@selector(targetMethod:) userInfo:nil repeats:YES]; …

ios xcode nstimer
How Do I write a Timer in Objective-C?

I am trying to make a stop watch with NSTimer. I gave the following code: nst_Timer = [NSTimer scheduledTimerWithTimeInterval:0.001 target:…

iphone objective-c timer nsdate nstimer
CountDown Timer ios tutorial?

I'm making an application where the exams is going on, so when exam start the, time should start with that. …

ios nstimer countdowntimer
Format timer label to hours:minutes:seconds in Swift

I have an NSTimer which counts DOWN from 2 hours until 0. Here are some of my code: var timer = NSTimer() let …

ios swift nstimer
How to run NSTimer in background beyond 180sec in iOS 7?

I have tried this but not working more than 180 sec in iOS 7 and Xcode 4.6.2. Please help me UIBackgroundTaskIdentifier bgTask = UIBackgroundTaskInvalid; …

ios timer nstimer
NSTimer not firing the selector

In ios5.0 with ARC, in my rootviewcontroller I call a method in a security manager object that is held by …

ios nstimer
NSTimer timerWithTimeInterval: not working

I've created a test application with timer before implementing it in my project. It was the first time I'm using …

ios timer nstimer
Passing Data through NSTimer UserInfo

I am trying to pass data through userInfo for an NSTimer call. What is the best way to do this? …

iphone objective-c nstimer