site_archiver@lists.apple.com Delivered-To: bluetooth-dev@lists.apple.com Thread-index: AcY9T8gJkiI3RE9SR4ynxKDTwPEp5g== Thread-topic: Bluetooth, NSApplication and NSRunLoop Hello again! I've just wasted about a day working out that if I want my delegates to be invoked in response to Bluetooth events, I have to run a run loop. I'm not the first to have this problem: http://lists.apple.com/archives/bluetooth-dev/2005/May/msg00012.html I can find nowhere in the Bluetooth documentation that mentions this; I had to wait for a flash of inspiration at one in the morning. Now I've got an NSApplication that I run and my callbacks are getting called back. But I'm writing a command line utility that shouldn't need a whole NSApplication. Can I instead use an NSRunLoop as a more lightweight alternative? Initially it didn't seem to work but I might just be doing something slightly wrong. So I'd like to know whether it's worth pursuing at all. Many thanks, George _______________________________________________ Do not post admin requests to the list. They will be ignored. Bluetooth-dev mailing list (Bluetooth-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/bluetooth-dev/site_archiver%40lists.a... This email sent to site_archiver@lists.apple.com