Simulates a single mouse click on the receiver.
- macOS 10.0+
The object to use as the sender of the event (if the receiver's control view is not valid). This object must be a subclass of
This method performs the receiver’s action on its target. The receiver must be enabled to perform the action. If the receiver’s control view is valid, that view is used as the sender; otherwise, the value in
sender is used.
The receiver of this message must be a cell of type
NSAction. This method raises an exception if the action message cannot be successfully sent.