Catching double click in Cocoa OSX

cocoa, double-click, macos, nsresponder

Solution

The `mouseDown:` and `mouseUp:` methods take an NSEvent object as an argument with information about the clicks, including the `clickCount`.

Problem

NSResponder seems to have no mouse double click event. Is there an easy way to catch a double click?

Original source