Touch on Mac for Developers: 36 Points, Recognizers, Sidecar
That has three consequences for an AppKit codebase. The recipe for a touch-only recognizer is then two property assignments: “set the buttonMask to 0 and allowedTouchTypes to.direct on an initialized NSPanGestureRecognizer” (4:29).3 The action routes the recognizer’s.began,.changed,.ended and.