Enumeration

NSTouch.TouchType

A bit mask identifying a direct or indirect touch type.

Declaration

enum TouchType : Int

Topics

Touch Types

case direct

A direct touch from a user's finger on a screen.

case indirect

An indirect touch that is not on a screen, like a digitizer touch.

See Also

Getting the Touch Type

var type: NSTouch.TouchType

A type of touch from a Touch Bar interaction.

struct NSTouch.TouchTypeMask

A bit mask identifying a direct or indirect touch type.