Difference between revisions of "User:NSCoder"
(Initial commit.) |
m (→NSCoder class reference: Bored.) |
||
Line 1: | Line 1: | ||
== NSCoder class reference == | == NSCoder class reference == | ||
− | ''NSCoder : NSObject'' | + | '''Inheritance:''' ''NSCoder : NSObject'' |
− | ''' | + | '''Framework:''' ''Foundation Kit'' |
− | ''' | + | '''Declared in:''' ''Foundation/NSCoder.h'' |
− | + | '''Availability:''' ''Mac OS X/ iOS/ GNUstep/ libFoundation / OPENSTEP/ NEXTSTEP'' | |
− | NSPortCoder is used within the distributed objects framework. For archiving to/from disk, the Keyed... classes are preferred for new implementations, since they provide greater forward/backward compatibility in the face of class changes. | + | Top-level class defining methods for use when archiving (encoding) objects to a byte array or file, and when restoring (decoding) objects. Generally only subclasses of this class are used directly - <code>NSArchiver , NSUnarchiver , NSKeyedArchiver , NSKeyedUnarchiver,</code> or <code>NSPortCoder</code>. |
+ | |||
+ | <code>NSPortCoder</code> is used within the distributed objects framework. For archiving to/from disk, the Keyed... classes are preferred for new implementations, since they provide greater forward/backward compatibility in the face of class changes. | ||
Method summary | Method summary |
Revision as of 03:11, 21 March 2011
NSCoder class reference
Inheritance: NSCoder : NSObject
Framework: Foundation Kit
Declared in: Foundation/NSCoder.h
Availability: Mac OS X/ iOS/ GNUstep/ libFoundation / OPENSTEP/ NEXTSTEP
Top-level class defining methods for use when archiving (encoding) objects to a byte array or file, and when restoring (decoding) objects. Generally only subclasses of this class are used directly - NSArchiver , NSUnarchiver , NSKeyedArchiver , NSKeyedUnarchiver,
or NSPortCoder
.
NSPortCoder
is used within the distributed objects framework. For archiving to/from disk, the Keyed... classes are preferred for new implementations, since they provide greater forward/backward compatibility in the face of class changes.
Method summary
-decodePointForKey:
-decodeRectForKey:
-decodeSizeForKey:
-encodePoint:forKey:
-encodeRect:forKey:
-encodeSize:forKey:
-allowsKeyedCoding
-containsValueForKey:
-decodeArrayOfObjCType:count:at:
-decodeBoolForKey:
-decodeBytesForKey:returnedLength:
-decodeBytesWithReturnedLength:
-decodeDataObject
-decodeDoubleForKey:
-decodeFloatForKey:
-decodeInt32ForKey:
-decodeInt64ForKey:
-decodeIntForKey:
-decodeIntegerForKey:
-decodeObject
-decodeObjectForKey:
-decodePoint
-decodePropertyList
-decodeRect
-decodeSize
-decodeValueOfObjCType:at:
-decodeValuesOfObjCTypes:,...
-encodeArrayOfObjCType:count:at:
-encodeBool:forKey:
-encodeBycopyObject:
-encodeByrefObject:
-encodeBytes:length:
-encodeBytes:length:forKey:
-encodeConditionalObject:
-encodeConditionalObject:forKey:
-encodeDataObject:
-encodeDouble:forKey:
-encodeFloat:forKey:
-encodeInt32:forKey:
-encodeInt64:forKey:
-encodeInt:forKey:
-encodeInteger:forKey:
-encodeObject:
-encodeObject:forKey:
-encodePoint:
-encodePropertyList:
-encodeRect:
-encodeRootObject:
-encodeSize:
-encodeValueOfObjCType:at:
-encodeValuesOfObjCTypes:,...
-objectZone
-setObjectZone:
-systemVersion
-versionForClassName:
Authors
Andrew Kachites McCallum (mccallum@gnu.ai.mit.edu)
Adam Fedor (fedor@boulder.colorado.edu)
Version: 30473
Copyright: (C) 1995, 1996 Free Software Foundation, Inc.
Software documentation for the NSCoder class