Is there any method in Cocoa that helps iterating through all NSColor values(R,G,B only, alpha not t
- by krasnyk
You may ask why do I need it? I have to detect all white objects at the B/W image. I'm coloring each object and taking its rect. In order fill each object with different color I would be very happy to use a function that can for a given color gimme a next one or so.
In Qt there is a nice one that is called nextColor or so, returns the integer representing the next color(which can be easily translated to RGB).
Does Cocoa have sth like that?