Multiple choice technology

Which is not a mouse method in a protocol

  1. -(void) mouseUp: (NSEvent *) theEvent;

  2. -(void) mouseDown: (NSEvent *) theEvent;

  3. -(void) mouseDragged: (NSEvent *) theEvent;

  4. -(void) mouseClick: (NSEvent *) theEvent;

Reveal answer Fill a bubble to check yourself
D Correct answer
Explanation

The standard mouse event methods in Cocoa are mouseUp, mouseDown, and mouseDragged. There is no 'mouseClick' method in the standard mouse event protocol - click events are typically derived from up/down combinations.