Re: CFRunLoop
Re: CFRunLoop
- Subject: Re: CFRunLoop
- From: Stéphane Sudre <email@hidden>
- Date: Wed, 5 Sep 2001 14:54:20 +0200
On mercredi, septembre 5, 2001, at 02:44 PM, Ondra Cada wrote:
Robert,
Robert Goldsmith (RG) wrote at Wed, 5 Sep 2001 10:48:39 +0100:
RG> Ok, so the Cocoa NSApplication callback structure will directly
There are no callbacks in ObjC (but it the most generic sense of the
term).
Sending messages beween objects is what you use.
RG> accept CFRunLoop sources/timers? Or do i need to use a different set
RG> of calls to add and remove the sources?
Hm. What's your goal, actually? For timed events you should use NSTimer
(or
performSelectr:withObject:afterDelay: in the simplest cases which are
not
worth it). What other sources you mean?
Other sources can be: CFMessagePort, Notification observer, etc...