• 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
Re: Cocoa Event Monitor?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Cocoa Event Monitor?
      • From: Colin Wheeler <email@hidden>
References: 
 >Cocoa Event Monitor? (From: dave d <email@hidden>)

  • Prev by Date: Re: IKImageBrowserView - multiline labels
  • Next by Date: Re: Cocoa Event Monitor?
  • Previous by thread: Cocoa Event Monitor?
  • Next by thread: Re: Cocoa Event Monitor?
  • Index(es):
    • Date
    • Thread