NXColor, a type that dates from pre-OpenStep versions of NEXTSTEP, was a
struct. Its replacement,
NSColor, is a class. The difficulties of converting from a
struct to a class require a special method like
decodeNXColor method becomes part of the
NSCoder class only for applications that use the Application Kit.
- decodeNXColor(OS X v10.9)
Decodes a color structure from NEXTSTEP Release 3 or earlier and returns an
- (NSColor *)decodeNXColor
nilif the archived color is invalid.
This method does not have a matching method for encoding an
NXColorstructure. Encode an
Available in OS X v10.0 and later.
Deprecated in OS X v10.9.