Creates and returns an NSColor whose color is the same as the receiver’s, except that the new NSColor is in the specified color space.
Original signature is '- (NSColor *)colorUsingColorSpaceName:(NSString *)colorSpace'
Available in Mac OS X v10.0 and later.
Declaration Syntax
Parameters
- colorSpace (NSString)
- The name of the color space containing the new NSColor object. If colorSpace is nil, the most appropriate color space is used.
Return Value
The new NSColor object or nil if the specified conversion cannot be done.
Version Information
- Available in Monobjc Bridge: 10.6 (For Mac OS X 10.6 and later), 10.5 (For Mac OS X 10.5 and later)