Bluetooth, NSApplication and NSRunLoop
Bluetooth, NSApplication and NSRunLoop
- Subject: Bluetooth, NSApplication and NSRunLoop
- From: "Van Den Driessche, George" <email@hidden>
- Date: Wed, 1 Mar 2006 16:47:09 -0000
- 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 (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden