Protocol

NSPathControlDelegate

A set of methods that can be implemented by the delegate of a path control object to support dragging to and from the control.

Declaration

protocol NSPathControlDelegate

Topics

Dragging Support

func pathControl(NSPathControl, validateDrop: NSDraggingInfo) -> NSDragOperation

Implement this method to enable dragging onto the control.

func pathControl(NSPathControl, acceptDrop: NSDraggingInfo) -> Bool

Implement this method to accept previously validated contents dropped onto the control.

Customizing a Pop-Up–Style Path

func pathControl(NSPathControl, willDisplay: NSOpenPanel)

Implement this method to customize the Open panel shown by a pop-up–style path.

func pathControl(NSPathControl, willPopUp: NSMenu)

Implement this method to customize the menu of a pop-up–style path.

Relationships

Inherits From