Instance Method

makeStandardActivatePopoverGestureRecognizer()

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

Declaration

func makeStandardActivatePopoverGestureRecognizer() -> NSGestureRecognizer

Discussion

Use this method to create a gesture recognizer that you then attach to a custom collapsedRepresentation view.

See Also

Expanding and Collapsing a Popover

func showPopover(Any?)

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

func dismissPopover(Any?)

Restores the previously visible main bar.