Top "Nstimer" questions

An Objective C class for creating timer objects.

Xcode 7.3 / Swift 2: "No method declared with Objective-C selector" warning

I've been using selectors for a while, and even after migrating to Swift I was able to use them without …

swift nstimer
How to find if NSTimer is active or not?

I have a something like this: NSTimer* timer = [NSTimer scheduledTimerWithTimeInterval:1.0 target:self selector:@selector(updateCountdown) userInfo:nil repeats:YES]; I …

objective-c xcode iphone-sdk-3.0 nstimer invalidation
Weak Reference to NSTimer Target To Prevent Retain Cycle

I'm using an NSTimer like this: timer = [NSTimer scheduledTimerWithTimeInterval:30.0f target:self selector:@selector(tick) userInfo:nil repeats:YES]; Of …

objective-c automatic-ref-counting nstimer retain-cycle
NSTimer with anonymous function / block?

I want to be able to schedule three small events in the future without having to write a function for …

iphone objective-c nstimer
How to create an alarm clock app with swift?

I'm trying to create a kind of alarm clock app with the swift but I could not figure out how …

ios swift nstimer alarm
Add a running countup display timer to an iOS app, like the Clock stopwatch?

I'm working with an app that processes device motion events and updates interface in 5 second increments. I would like to …

ios objective-c cocoa-touch time nstimer
NSTimer requiring me to add it to a runloop

I am wondering if someone can explain why dispatching back to the main queue and creating a repeating NSTimer I …

ios objective-c nstimer nsrunloop
How keep NSTimer when application entering background?

I'm here because a didn't find any solutions for my issue :( I'm doing an simple application in which i have …

ios background scheduling nstimer foreground
How to stop/invalidate NStimer

I am using [NSTimer scheduledTimerWithTimeInterval:0.1f target:self selector:@selector(update) userInfo:nil repeats:YES]; I want to stop calling …

iphone ipad nstimer