Instance Property

data2

Additional data associated with this event.

Declaration

var data2: Int { get }

Discussion

The value contained by this property is dependent on the event type, and is defined by the originator of the event. Raises an NSInternalInconsistencyException if accessed on an object that is not a NSAppKitDefined, NSSystemDefined, NSApplicationDefined, or NSPeriodic event.

NSPeriodic events don’t use this attribute.