Re:“Your program is stupid. It doesn't work,” my wife told m...
by eridius on Monday November 28, 2016 @04:02PM
(#13058383)
More specifically, UIColor and NSColor store a reference to a colorspace and a set of components (plus alpha). The colorspace defines the number of components and their meaning. So all of the RGB colorspaces define 3 components, Red, Green, and Blue, which means UIColor and NSColor need to store the color using those 3 components (plus alpha) whenever they're using an RGB colorspace.
[ Parent
| on HN ]
There are no comments on this comment yet.