Deprecated NSCoder Methods
A method identified as deprecated has been superseded and may become unsupported in the future.
Deprecated in OS X v10.5
decodeNXObject
Decodes an object previously written with encodeNXObject:. (Deprecated in 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.
Availability
- Available in OS X v10.0 and later.
- Deprecated in OS X v10.5.
Declared In
NSCoder.hencodeNXObject:
Encodes an old-style object onto the coder. (Deprecated in 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
- Available in OS X v10.0 and later.
- Deprecated in OS X v10.5.
Declared In
NSCoder.h© 2012 Apple Inc. All Rights Reserved. (Last updated: 2012-07-17)