Protocol

NSPathControlDelegate

The NSPathControlDelegate optional protocol is implemented by the delegate of an NSPathControl object to support dragging to and from the control.

Symbols

Dragging Support

func pathControl(NSPathControl, shouldDrag: NSPathComponentCell, with: NSPasteboard)

Implement this method to enable dragging from the control.

func pathControl(NSPathControl, validateDrop: NSDraggingInfo)

Implement this method to enable dragging onto the control.

func pathControl(NSPathControl, acceptDrop: NSDraggingInfo)

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