Re: Carbon Events vs Cocoa Events
Re: Carbon Events vs Cocoa Events
- Subject: Re: Carbon Events vs Cocoa Events
- From: Charles Srstka <email@hidden>
- Date: Mon, 1 Apr 2002 14:54:51 -0600
Wow, thanks for all the quick replies! I'll have a look at sendEvent:.
Thanks again,
Charles
On Monday, April 1, 2002, at 01:36 PM, Ondra Cada wrote:
On Monday, April 1, 2002, at 09:02 , Charles Srstka wrote:
How could you make a simple app in Cocoa that logged all events, for
example?
It's as simple as using your own NSApplication subclass, overriding
sendEvent:. See NSApplication.html for more.
I don't know the current Carbon event model that well, but I used to
knew Mac OS 6/7 event model (of which I understand the Carbon is a
direct descendant, just like Cocoa is a direct descendant of NeXTStep
API) well since I wrote applications for Mac OS in those days, and I
can assure you that there was not one sole thing which might be easier
there than in Cocoa.
---
Ondra Cada
OCSoftware: email@hidden http://www.ocs.cz
2K Development: email@hidden http://www.2kdevelopment.cz
private email@hidden http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.