|
Leopard Technical Q&As: Cocoa
Events & Other Input
Events are high-level messages sent to applications by the operating system. For example, when the user clicks the mouse, types a character, chooses a menu command, moves a window, or activates an application, Mac OS X dispatches an event to the appropriate application. Other forms of input, such as notifications, can be generated programmatically. Cocoa provides mechanisms and programmatic interfaces to assist applications in receiving and responding appropriately to events and other types of input. |