Instance Method

detachColorList:

Tells the receiver to detach the given color list, unless the receiver isn’t displaying the list.

Required.

Declaration

- (void)detachColorList:(NSColorList *)colorList;

Parameters

colorList

The color list to detach.

Discussion

You never invoke this method; it’s invoked automatically by the NSColorPanel object when its detachColorList: method is invoked. Because the NSColorPanel list mode manages NSColorList objects, this method need only be implemented by a custom color picker that manages NSColorList objects itself.

See Also

Managing Color Lists

- attachColorList:

Tells the receiver to attach the given color list, if it isn’t already displaying the list.

Required.