running your own event loop: example code available
running your own event loop: example code available
- Subject: running your own event loop: example code available
- From: Cameron Hayne <email@hidden>
- Date: Sat, 30 Nov 2002 17:36:55 -0500
I have been investigating how to keep more control of the event loop within
my application and have made some sample programs available at:
http://hayne.net/MacDev/TestEvent/
One of these sample programs shows how to break NSApplicationMain up into
(what I imagine might be) its component parts so as to have explicit control
of the event loop.
The other example program is derived from an example posted on this list a
while ago by Douglas Davidson. It shows how to integrate BSD-level sockets
into the CFRunLoop of a Foundation tool.
I would be very interested in hearing any comments or suggestions about this
sample code - things I am missing, possible problems, better ways to do it,
etc.
--
Cameron Hayne (email@hidden)
Hayne of Tintagel
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.