Initializes and returns the receiver, registering it under the given name if it isn’t in use already.
- macOS 10.0+
The name under which to register the color list. Specify @”” if you don’t want a name.
The initialized color list.
This method invokes
init with a
from argument of
nil, indicating that the color list doesn’t need to be initialized from a file. Note that this method does not add the color list to
available until the color list is saved into the user’s path with
write with a value of