Instance Method


Restores the previously visible main bar.


func dismissPopover(_ sender: Any?)


This method has the same effect as the user tapping the optional close button.

See Also

Expanding and Collapsing a Popover

func showPopover(Any?)

Replaces the main bar with this item's popover bar.

func makeStandardActivatePopoverGestureRecognizer() -> NSGestureRecognizer

Returns a gesture recognizer, configured to invoke the showPopover(_:) method.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software