< Previous PageNext Page > Hide TOC

Deprecated NSCoder Methods

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

Deprecated in Mac OS X v10.5

decodeNXObject

Decodes an object previously written with encodeNXObject:. (Deprecated in Mac OS X v10.5.)

- (id)decodeNXObject

Discussion

No sharing is done across separate decodeNXObject invocations. Callers must have implemented an initWithCoder:, which parallels the read: methods, on all of their classes that may be touched by this operation. The returned object is autoreleased.

Availability
Declared In
NSCoder.h

encodeNXObject:

Encodes an old-style object onto the coder. (Deprecated in Mac OS X v10.5.)

- (void)encodeNXObject:(id)object

Discussion

No sharing is done across separate encodeNXObject: invocations. Callers must have implemented an encodeWithCoder:, which parallels the write: methods, on all of their classes that may be touched by this operation.

Availability
Declared In
NSCoder.h

< Previous PageNext Page > Hide TOC


© 2006 Apple Computer, Inc. All Rights Reserved. (Last updated: 2006-07-23)


Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.