Contents

color(withKey:)

Returns the color object associated with the specified key.

Declaration

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

Parameters

  • key:

    The key for which to retrieve the color.

Return Value

The color associated with the given key or nil if there is none.

See Also

Managing Colors By Key