removeColor(withKey:)
Removes the color associated with the specified key from the color list.
Declaration
func removeColor(withKey key: NSColor.Name)Parameters
- key:
The key for which to remove the color.
Discussion
This method does nothing if the receiver doesn’t contain the key. This method posts didChangeNotification to the default notification center. It raises NSColorListNotEditableException if the receiver is not editable.