• 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: NSEvent and postEvent:atStart
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSEvent and postEvent:atStart


  • Subject: Re: NSEvent and postEvent:atStart
  • From: Ken Thomases <email@hidden>
  • Date: Fri, 25 May 2012 00:08:04 -0500

On May 24, 2012, at 11:53 PM, Graham Cox wrote:

> On 25/05/2012, at 12:40 PM, koko wrote:
>
>> On May 24, 2012, at 7:56 PM, Graham Cox wrote:
>>
>>> Another object will pull events off the queue.
>>
>> Can you point me to the docs that cover pulling events off the queue?
>
> [NSWindow  nextEventMatchingMask:untilDate:inMode:dequeue:]
>
> [NSApplication nextEventMatchingMask:untilDate:inMode:dequeue:]

Those are correct, but most events are pulled from the queue (using those methods) inside of Cocoa and then delivered to the application object via the -sendEvent: method.  An override of that is often where one would see their own application-specific events.

Regards,
Ken


_______________________________________________

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: NSEvent and postEvent:atStart
      • From: koko <email@hidden>
References: 
 >Re: NSEvent and postEvent:atStart (From: Graham Cox <email@hidden>)
 >Re: NSEvent and postEvent:atStart (From: koko <email@hidden>)
 >Re: NSEvent and postEvent:atStart (From: Graham Cox <email@hidden>)

  • Prev by Date: Re: NSEvent and postEvent:atStart
  • Next by Date: Sending a list of path strings to the Finder via Scripting Bridge
  • Previous by thread: Re: NSEvent and postEvent:atStart
  • Next by thread: Re: NSEvent and postEvent:atStart
  • Index(es):
    • Date
    • Thread