Top "Runloop" questions

A run loop is the concept of running a local loop waiting for a specific event or timeout.

Is there a way to make drawRect work right NOW?

The original question............................................... If you are an advanced user of drawRect, you will know that of course drawRect will not …

iphone ios cocoa quartz-graphics runloop
Is NSTimer expected to fire when app is backgrounded?

I don't understand it at all but NSTimer in my app definitely is running in background. I have a NSLog …

ios cocoa-touch background nstimer runloop
Is there any guide for iOS runloop mechanism?

I'm learning socket communication on iPhone, and its guide said something about CFRunloop(it is a guide for CFNetwork, can …

iphone ios sockets runloop
How do I get didReadData within GCDAsyncSocket execute within the current RunLoop?

I'm trying to get a simple example working with GCDAsyncSocket, and am discovering that I'm missing certain bits of understanding …

runloop cocoaasyncsocket
Stop an NSRunLoop from a timer

I've made a RunLoop with a timer that updates a label that displays a countdown. I need the RunLoop to …

cocoa timer nstimer nsrunloop runloop
Proper way to delay while allowing the run loop to continue

I have a need to delay for a certain amount of time and yet allow other things on the same …

ios xcode cocoa time runloop
Running NSTimer on a thread

I am trying to run a NSTimer on a thread using iPhone SDK 3.0. I think I am doing everything correctly (…

iphone nstimer nsthread runloop
iOS Games and Run-Loop Management

First, my question: How do you manage your iOS Run-Loop? Next my reason: I've been researching this with a variety …

iphone optimization ios opengl-es runloop