init(named:)
Searches the available color lists array and returns the color list with the specified name.
Declaration
init?(named name: NSColorList.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.