NSEvent — Mac OS X 10.0
This class encapsulates the data related to all events in a Cocoa
application. NSEvent
objects are dispatched by
NSApplication
to the appropriate receiver using
the method sendEvent
:. Both key and mouse events
are represented by NSEvent
. All classes that wish
to respond to events must inherit from
NSResponder
.