userInfo
The dictionary containing the data associated with the receiver when it was created.
Declaration
var userInfo: [AnyHashable : Any]? { get }Discussion
You can obtain this dictionary per event in each mouseEntered(with:) and mouseExited(with:) method by querying the passed-in NSEvent object with [[event trackingArea] userData].