Re: Why is "set" a class method of NSColor?

2009-12-03 Thread Jack Boyce
Argh, never mind. I overlooked an important section of the Cocoa Drawing Guide. Jack On Thu, Dec 3, 2009 at 6:46 PM, Jack Boyce wrote: > I'm learning Cocoa, trying to understand certain "magical" features where > it isn't obvious how things work under the hood.

Why is "set" a class method of NSColor?

2009-12-03 Thread Jack Boyce
I'm learning Cocoa, trying to understand certain "magical" features where it isn't obvious how things work under the hood. (KVO and isa-swizzling is another prime example.) Can someone kindly explain, or point me to an explanation for, what's really happening with: [[NSColor blueColor] set];