Decodes a color structure from NEXTSTEP Release 3 or earlier.
- macOS 10.0–10.9Deprecated
NSColor object. Returns
nil if the archived color is invalid.
This method does not have a matching method for encoding an
NXColor structure. Encode an
NSColor object instead.
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
decode method becomes part of the
NSCoder class only for apps that use AppKit.