mouseEntered and mouseExited not called in NSImageView SubClass
If You want to use mouseEntered: and mouseExited: You need to use NSTrackingArea. Here is reference NSTrackingArea Class Reference. Example: //Add this to Your imageView subclass -(void)mouseEntered:(NSEvent *)theEvent { NSLog(@”Mouse entered”); } -(void)mouseExited:(NSEvent *)theEvent { NSLog(@”Mouse exited”); } -(void)updateTrackingAreas { [super updateTrackingAreas]; if(trackingArea != nil) { [self removeTrackingArea:trackingArea]; [trackingArea release]; } int opts = (NSTrackingMouseEnteredAndExited … Read more