Instance Property

allKeys

An array of the keys by which the NSColor objects are stored in the receiver.

Declaration

var allKeys: [NSColor.Name] { get }

See Also

Managing Colors By Key

func color(withKey: NSColor.Name) -> NSColor?

Returns the NSColor object associated with the given key.

func insertColor(NSColor, key: NSColor.Name, at: Int)

Inserts the specified color at the specified location in the receiver.

func removeColor(withKey: NSColor.Name)

Removes the color associated with the specified key from the receiver.

func setColor(NSColor, forKey: NSColor.Name)

Associates the specified NSColor object with the specified key.