User:NSCoder

From Team Fortress Wiki
Revision as of 03:06, 21 March 2011 by NSCoder (talk | contribs) (Initial commit.)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

NSCoder class reference

NSCoder : NSObject

Declared in: Foundation/NSCoder.h

Availability: Mac OS X/ iOS/ GNUstep

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

http://www.gnu.org/licenses/gpl.txt