Contents

orderFrontColorPanel(_:)

Brings up the color panel, an instance of NSColorPanel.

Declaration

func orderFrontColorPanel(_ sender: Any?)

Parameters

  • sender:

    The object that sent the command.

Discussion

If the NSColorPanel object does not exist yet, this method creates one. This method is typically invoked when the user chooses Colors from a menu.

See Also

Managing Panels