NSColorList Class
An NSColorList enables the storage of an ordered set of color presets, accessible by a key. NSColorList can replace hard-coded color values in source code, allowing for easier customization and changing of an application’s user interface.
A new NSColorList instance can be created in memory by calling -initWithName: and passing an NSString with the name of the color list.
When an application is launched the standard library paths are searched for Color directories containing files ending with the suffix .clr. A list of the currently available color lists can be retrieved using the class method +availableColorLists. This list only includes color lists read from disk. Newly created NSColorList instances are not included in this ...
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access