- macOS 10.5+
NSTracking object is associated with the event because the event corresponds to a tracking rectangle installed with the
add, this method returns
nil. Note that the
tracking property returns either an
NSTracking object or the
NSTracking constant depending on how the event was generated.