Demonstrates how to use the NSPopover class by showing how to change the popover type, positioning and animation. It also demonstrates how to detach a given popover to a separate window. To detach it to separate window, drag the popover away from its original position. The popover's content is driven by a NSViewController subclass.


This sample requires OS X 10.7 or higher.