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 (Cocoa-dev@lists.apple.com) 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: https://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com