Type Method

colorListNamed:

Searches the array that’s returned by availableColorLists and returns the color list with the given name.

Declaration

+ (NSColorList *)colorListNamed:(NSColorListName)name;

Parameters

name

The name of the color list to retrieve. This name must not include the “.clr” suffix.

Return Value

The color list with the specified name or nil if no such color list exists.

See Also

Getting Color Lists

availableColorLists

Returns an array of all color lists found in the standard color list directories.