mouseExited(with:)
Erases the button’s border.
Declaration
func mouseExited(with event: NSEvent)Parameters
- event:
The event object generated by the mouse movement.
Discussion
This method is called only when the pointer moves off the button and the value of showsBorderOnlyWhileMouseInside is true.