Cocoa is an object oriented framework that encapsulates a lot of the hard work 
for you, so it doesn’t expose all the low-level details that it manages.  Some 
of the lower level functionality is available by way of CoreFoundation and some 
exposed C APIs, but there are lots of things not exposed.  If you have a need 
to do polling of events and cannot do it with the current APIs available, write 
a radar up and possible open a tech support incident.
--
Gary L. Wade
http://www.garywade.com/ <http://www.garywade.com/>
> On Aug 20, 2016, at 2:26 PM, Andreas Falkenhahn <andr...@falkenhahn.com> 
> wrote:
> 
> Well, yeah, that's just because I was absolutely sure that there would be
> a Cocoa equivalent for GetNumEventsInQueue(). I always believed Cocoa to
> have gazillions of features more than Carbon so I was absolutely sure that
> there would be a Cocoa equivalent for such a trivial thing as polling the
> number of events in the queue but apparently Cocoa's event queue API is
> quite ascetic ;)

_______________________________________________

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

Reply via email to