performClick(withFrame:in:)
Displays the receiver’s menu and track mouse events in it.
Declaration
func performClick(withFrame frame: NSRect, in controlView: NSView)Parameters
- frame:
The cell’s rectangle, specified in points in the coordinate system of the view in the
controlViewparameter. - controlView:
The view in which to display the pop-up button’s menu.
Discussion
You normally do not call this method explicitly. It is called by the Application Kit automatically to handle events in the pop-up button.