Instance Property

userInfo

The dictionary containing the data associated with the receiver when it was created.

Declaration

@property(readonly, copy) NSDictionary<id, id> *userInfo;

Discussion

You can obtain this dictionary per event in each mouseEntered: and mouseExited: method by querying the passed-in NSEvent object with [[event trackingArea] userData].

See Also

Getting Object Attributes

options

The options specified for the receiver.

owner

The object owning the receiver, which is the recipient of mouse-tracking, mouse-movement, and cursor-update messages.

rect

The rectangle defining the area encompassed by the receiver.