Determines which color selection modes are available in an application’s
- macOS 10.0+
One or more logically ORed color mode masks described in Color Picker Mode Masks.
This method has an effect only before an
NSColor object is instantiated.
If you create a class that implements the color-picking protocols (
NSColor), you may want to give it a unique mask—one different from those defined for the standard color pickers. To display your color picker, your application will need to logically OR that unique mask with the standard color mask constants when invoking this method.