Search code examples
xcodemacoscocoapropertiesnscolor

Are NSColors like tungsten and steel also available?


I know Cocoa gives you whiteColor, blackColor, darkGrayColor, but do they also have the colors from in Apple's color panel? With colors like "Snow", "Tungsten", "Steel", "Tin" ? Or should I create those myself?


Solution

  • You want NSColorList. The one named “Crayons” corresponds to the crayon box in the Color Panel.