<- Objective-C/Cocoa newbie here
What I got is a class deviated from NSView which implements "- (void) mouseDown
NSEvent *)event" and "- (void) mouseMoved
NSEvent *)event". Both work pretty much expected but want those events (and others) to go through other classes depending on which tool was set by the user.
Found "nextResponder" and tried to set that to one of my tool classes (based on NSResponder) but solar no luck.
Ideal solution would be for the tool class to receive all events first and either refer them back to NSView based class or "eat" them.
What I got is a class deviated from NSView which implements "- (void) mouseDown
Found "nextResponder" and tried to set that to one of my tool classes (based on NSResponder) but solar no luck.
Ideal solution would be for the tool class to receive all events first and either refer them back to NSView based class or "eat" them.