• 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: NSAppleEventManager question...
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSAppleEventManager question...


  • Subject: Re: NSAppleEventManager question...
  • From: Brian Webster <email@hidden>
  • Date: Thu, 02 Aug 2001 00:52:45 -0500

on 8/1/01 5:47 PM, email@hidden at
email@hidden wrote:

> My question is, can i set up a single selector for an entire class of
> AEs? In other words, is there some wildcard value for the
> andEventID: argument ?

According to the AE docs, installing a handler with typeWildCard as the
class and/or ID will allow a single handler to do this. However,
typeWildCard is defined as '****', so I'm not quite sure why that didn't
work.

Looking at it from the point of view of implement NSAppleEventManager, the
way I would do it would be just to register a single handler that gets
called on every Apple event and then dispatch the events via NSDictionaries
storing the appropriate objects and selectors. So, the typeWildCard
probably doesn't just "pass through" automatically; it would need specific
support from NSAppleEventManager, which it doesn't appear to have. If
typeWildCard doesn't work, I'd file a bug report on it. Anyone out there
know if this is a known bug?

--
Brian Webster
email@hidden
http://www.owlnet.rice.edu/~bwebster/


  • Prev by Date: Re: Need Help with Help
  • Next by Date: Re: cocoa-dev digest, Vol 1 #348 - 17 msgs
  • Previous by thread: NSAppleEventManager question...
  • Next by thread: question on opengl
  • Index(es):
    • Date
    • Thread