Deprecated NSCoder AppKit Additions Methods

A method identified as deprecated has been superseded and may become unsupported in the future.

Deprecated in OS X v10.9

decodeNXColor

Decodes a color structure from NEXTSTEP Release 3 or earlier and returns an NSColor object. (Deprecated in OS X v10.9.)

- (NSColor *)decodeNXColor
Return Value

An autoreleased NSColor object. Returns nil if the archived color is invalid.

Discussion

This method does not have a matching method for encoding an NXColor structure. Encode an NSColor object instead.

Availability
  • Available in OS X v10.0 and later.
  • Deprecated in OS X v10.9.
Declared In
NSColor.h