Dispatches an event to other objects.
- macOS 10.0+
The event object to dispatch.
You rarely invoke
send directly, although you might want to override this method to perform some action on every event.
send messages are sent from the main event loop (the
send is the method that dispatches events to the appropriate responders—
NSApp handles app events, the
NSWindow object indicated in the event record handles window-related events, and mouse and key events are forwarded to the appropriate
NSWindow object for further dispatching.