Instance Method

popoverDidDetach(_:)

Indicates that a popover has been released while it's in an implicitly detached state.

Declaration

optional func popoverDidDetach(_ popover: NSPopover)

Parameters

popover

The popover that detached from its anchor view and is not closing.

Discussion

This method is not called when the popover's detached window is returned by detachableWindow(for:).

See Also

Popover Visibility

func popoverShouldClose(NSPopover) -> Bool

Allows a delegate to override a close request.

func popoverWillShow(Notification)

Invoked when the popover will show.

func popoverDidShow(Notification)

Invoked when the popover has been shown.

func popoverWillClose(Notification)

Invoked when the popover is about to close.

func popoverDidClose(Notification)

Invoked when the popover did close.

func popoverShouldDetach(NSPopover) -> Bool

Returns a Boolean value that indicates whether a popover should detach from its positioning view and become a separate window.