Difference between revisions of "User:NSCoder"

From Team Fortress Wiki
Jump to: navigation, search
(Initial commit.)
 
m (Formatting correction. Still bored.)
 
(One intermediate revision by the same user not shown)
Line 1: Line 1:
 
== NSCoder class reference ==
 
== NSCoder class reference ==
  
''NSCoder : NSObject''
+
'''Inheritance:''' ''NSCoder : NSObject''
  
'''Declared in:''' Foundation/NSCoder.h
+
'''Framework:''' ''Foundation Kit''
  
'''Availability:''' Mac OS X/ iOS/ GNUstep
+
'''Declared in:''' ''Foundation/NSCoder.h''
  
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 .
+
'''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>.
  
Method summary
+
<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 ==
  
 
<code>
 
<code>
Line 125: Line 128:
  
 
</code>
 
</code>
'''Authors'''
+
 
 +
 
 +
== Authors ==
  
 
Andrew Kachites McCallum (mccallum@gnu.ai.mit.edu)
 
Andrew Kachites McCallum (mccallum@gnu.ai.mit.edu)

Latest revision as of 03:12, 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

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