Re: Cocoa Event Monitor?
Re: Cocoa Event Monitor?
- Subject: Re: Cocoa Event Monitor?
- From: Seth Willits <email@hidden>
- Date: Sat, 7 Feb 2009 19:44:12 -0800
On Feb 6, 2009, at 11:04 PM, dave d wrote:
http://developer.apple.com/samplecode/EventMonitorTest/index.html
This example has the functionality I want, but I'm wondering if
there's a more efficient way to accomplish the same thing in Cocoa.
Even if there's a Cocoa alternative that performs as well, I'd
prefer it, since my app is Cocoa and I'd prefer to keep it pure
Cocoa if I can.
There is no Cocoa alternative. You must either use Carbon events
(which is perfectly fine) or use an event tap which is still not Cocoa.
I've done a lot of searching and the only thing that looks promising
is NSDistributedNotificationCenter.
It's not the same thing. Notifications are not Events.
--
Seth Willits
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden