Hi all,
The Mac build of my (mainly POSIX) application spawns a child thread that calls CFRunLoopRun() to do an event loop (to get network configuration change events from MacOS).
When it's time to pack things up and go away, the main thread calls CFRunLoopStop() on the child thread's run-loop, at which point CFRunLoopRun() returns in...
Hi,
I need to make a pasteboard owner run on a thread which is not the main thread. This is because the main thread needs to do other stuff, and rendering the pasteboard data might be time-consuming.
I thought of removing the pasteboard owner from the main CFRunLoop, and adding it to the CFRunLoop of another thread, but exactly how sh...
I have a custom iPhone application which doesn't rely on UIKit in any way (it is not linked to UIKit). This means that I'm not using UIApplication and therefore not calling UIApplicationMain.
The problem is that when I create a timer it never fires. The timer is created like that:
[NSTimer timerWithTimeInterval:10 target:self selector:...
Here is the source files I'm currently developing. The idea behind this class is to contain a target object
and selector which will be invoked in whatever CFRunLoop passed to scheduleInCFRunLoop. I need this to loop repeatedly without consuming all available processing time on the iPhone. Any help on completion will be most helpful, I've...