Contents

pulldownTarget

The target object that defines the action you want to perform when someone interacts with the color well.

Declaration

weak var pulldownTarget: AnyObject? { get set }

Discussion

Specify a custom action method to replace the system popover and color picker. For a color well with the NSColorWell.Style.minimal or NSColorWell.Style.expanded style, clicks in the color area normally display a popover with the system color picker. If you specify a value for this property and the pulldownAction property, clicks in the color area execute your custom action method instead.

See Also

Customizing the color selection behavior