mouseExited(with:)
Automatically sent to the receiver when the cursor exits a cursor rectangle owned by the receiver.
Declaration
func mouseExited(with event: NSEvent)Parameters
- event:
The event generated when the cursor exits the cursor rectangle.
Discussion
Like mouseEntered(with:), this message is part of the class interface only so you can override it.
For a more complete explanation, see Mouse-Tracking and Cursor-Update Events and the NSView method addTrackingRect(_:owner:userData:assumeInside:).