• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
running your own event loop: example code available
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Prev by Date: Quicktime and buffers
  • Next by Date: Re: What happens when a "synchronize" occurs to synchronize preferences?
  • Previous by thread: Quicktime and buffers
  • Next by thread: re: testing for file open state
  • Index(es):
    • Date
    • Thread