Matthieu Riegler
Matthieu Riegler

Reputation: 55734

mouseDragged: Not called in NSView subclass

For a custom NSBox I have the following problem I can't get my mouseDragged to get called.

Knowing that : mouseMoved:, mouseEntered:, mouseExited:, mouseUp are all called when needed.

Upvotes: 2

Views: 973

Answers (1)

Matthieu Riegler
Matthieu Riegler

Reputation: 55734

I found the solution of my problem : mouseDown: has to be overridden in the subclass.

Upvotes: 5

Related Questions