Adding custom inputs to NSRunLoop
Adding custom inputs to NSRunLoop
- Subject: Adding custom inputs to NSRunLoop
- From: Malte Tancred <email@hidden>
- Date: Wed, 26 Sep 2001 11:25:02 +0200
Hi!
How do I add a custom input source to NSRunLoop? NSRunLoop
only supports NSPorts and NSTimers, as far as I can see. Is
CFRunLoop more customizable and/or extensible?
How is an input source supposed to work? Is it sent a tick of
some sort from the run loop telling it to 'do its stuff', or is it
merely polled frequently for status? How is the input supposed
to communicate its state 'to the program'?
Cheerio,
Malte
--
Malte Tancred
Computer programmer, Oops AB, Sweden
mailto:email@hidden
http://www.oops.se/