Re: Adding an NSColor subclass to NSColorPanel?

2008-07-31 Thread Timothy Wood
On Jul 31, 2008, at 2:20 PM, David Springer wrote: I would like to add instances of a subclass of NSColor to the color panel. The problem is, when you change to another app that does not know about this subclass, the NSColorPanel kind of freaks out and shows all the colors as white (even the sy

Re: Adding an NSColor subclass to NSColorPanel?

2008-07-31 Thread Nick Zitzmann
On Jul 31, 2008, at 3:20 PM, David Springer wrote: I would like to add instances of a subclass of NSColor to the color panel. Why, exactly, did you subclass NSColor? NSColor is a class cluster, like NSArray and NSString. Nick Zitzmann ___

Adding an NSColor subclass to NSColorPanel?

2008-07-31 Thread David Springer
Folks, I would like to add instances of a subclass of NSColor to the color panel. The problem is, when you change to another app that does not know about this subclass, the NSColorPanel kind of freaks out and shows all the colors as white (even the system colors) - in some cases it just crashes t