Public Member Functions | |
(id) | - initForReadingWithData: [implementation] |
(BOOL) | - containsValueForKey: [implementation] |
(BOOL) | - decodeBoolForKey: [implementation] |
(float) | - decodeFloatForKey: [implementation] |
(double) | - decodeDoubleForKey: [implementation] |
(int) | - decodeIntForKey: [implementation] |
(CGPoint) | - decodePointForKey: [implementation] |
(CGRect) | - decodeRectForKey: [implementation] |
(CGSize) | - decodeSizeForKey: [implementation] |
(id) | - decodeObjectForKey: [implementation] |
(id) | - decodeBytesForKey: [implementation] |
(void) | - finishDecoding [implementation] |
(id) | - delegate [implementation] |
(void) | - setDelegate: [implementation] |
(void) | - setClass:forClassName: [implementation] |
(Class) | - classForClassName: [implementation] |
(BOOL) | - allowsKeyedCoding [implementation] |
Static Public Member Functions | |
(void) | + initialize [implementation] |
(id) | + unarchiveObjectWithData: [implementation] |
(id) | + unarchiveObjectWithFile: [implementation] |
(id) | + unarchiveObjectWithFile:asynchronously: [implementation] |
-(Class)unarchiver:(CPKeyedUnarchiver)unarchiver cannotDecodeObjectOfClassName:(CPString)name originalClasses:(CPArray)classNames; Called when the specified class is not available during decoding. The delegate may load the class, or return a substitute class to use instead.
unarchiver | the unarchiver performing the decode | |
name | the name of the class that can't be found | |
an | array of class names describing the encoded object's class hierarchy. The first index is the encoded class name, and each superclass is after that. |
nil
to abort the unarchiving operationunarchiver | the unarchiver doing the decoding | |
object | the decoded objec |
nil
.unarchiver:didDecodeObject:
. unarchiver | the unarchiver that decoded the object | |
object | the original decoded object | |
newObject | the replacement object |
unarchiver | the unarchiver that's about to finish |
unarchiver | the unarchiver that finished decoding |
Definition at line 97 of file CPKeyedUnarchiver.j.
- (BOOL) allowsKeyedCoding | [implementation] |
Definition at line 397 of file CPKeyedUnarchiver.j.
- (Class) classForClassName: | (CPString) | aClassName | [implementation] |
Definition at line 392 of file CPKeyedUnarchiver.j.
- (BOOL) containsValueForKey: | (CPString) | aKey | [implementation] |
Definition at line 185 of file CPKeyedUnarchiver.j.
- (BOOL) decodeBoolForKey: | (CPString) | aKey | [implementation] |
Definition at line 215 of file CPKeyedUnarchiver.j.
- (id) decodeBytesForKey: | (CPString) | aKey | [implementation] |
Definition at line 332 of file CPKeyedUnarchiver.j.
- (double) decodeDoubleForKey: | (CPString) | aKey | [implementation] |
Definition at line 235 of file CPKeyedUnarchiver.j.
- (float) decodeFloatForKey: | (CPString) | aKey | [implementation] |
Definition at line 225 of file CPKeyedUnarchiver.j.
- (int) decodeIntForKey: | (CPString) | aKey | [implementation] |
Definition at line 245 of file CPKeyedUnarchiver.j.
- (id) decodeObjectForKey: | (CPString) | aKey | [implementation] |
Definition at line 300 of file CPKeyedUnarchiver.j.
- (CGPoint) decodePointForKey: | (CPString) | aKey | [implementation] |
Definition at line 255 of file CPKeyedUnarchiver.j.
- (CGRect) decodeRectForKey: | (CPString) | aKey | [implementation] |
Definition at line 270 of file CPKeyedUnarchiver.j.
- (CGSize) decodeSizeForKey: | (CPString) | aKey | [implementation] |
Definition at line 285 of file CPKeyedUnarchiver.j.
- (id) delegate | [implementation] |
Definition at line 358 of file CPKeyedUnarchiver.j.
- (void) finishDecoding | [implementation] |
Definition at line 346 of file CPKeyedUnarchiver.j.
- (id) initForReadingWithData: | (CPData) | data | [implementation] |
Definition at line 134 of file CPKeyedUnarchiver.j.
+ (void) initialize | [implementation] |
Definition at line 116 of file CPKeyedUnarchiver.j.
- (void) setClass: | (Class) | aClass | ||
forClassName: | (CPString) | aClassName | ||
[implementation] |
Definition at line 387 of file CPKeyedUnarchiver.j.
- (void) setDelegate: | (id) | aDelegate | [implementation] |
Definition at line 367 of file CPKeyedUnarchiver.j.
+ (id) unarchiveObjectWithData: | (CPData) | data | [implementation] |
Definition at line 157 of file CPKeyedUnarchiver.j.
+ (id) unarchiveObjectWithFile: | (CPString) | aFilePath | [implementation] |
Definition at line 170 of file CPKeyedUnarchiver.j.
+ (id) unarchiveObjectWithFile: | (CPString) | aFilePath | ||
asynchronously: | (BOOL) | aFlag | ||
[implementation] |
Definition at line 177 of file CPKeyedUnarchiver.j.