![]() |
API
0.9.6
|
Unarchives objects created using CPKeyedArchiver. More...
#import <CPKeyedUnarchiver.h>
Class Methods | |
(void) | + initialize |
(id) | + unarchiveObjectWithData: |
(id) | + unarchiveObjectWithFile: |
(id) | + unarchiveObjectWithFile:asynchronously: |
![]() | |
(BOOL) | + accessInstanceVariablesDirectly |
(id) | + alloc |
(id) | + allocWithCoder: |
(BOOL) | + automaticallyNotifiesObserversForKey: |
(Class) | + class |
(void) | + exposeBinding: |
(IMP) | + instanceMethodForSelector: |
(BOOL) | + instancesRespondToSelector: |
(BOOL) | + isSubclassOfClass: |
(CPSet) | + keyPathsForValuesAffectingValueForKey: |
(void) | + load |
(id) | + new |
(void) | + setVersion: |
(Class) | + superclass |
(int) | + version |
Additional Inherited Members | |
![]() | |
Class | isa |
Unarchives objects created using CPKeyedArchiver.
CPKeyedUnarchiver is used for creating objects out of coded files or CPData objects that were created by CPKeyedArchiver. More specifically, this class unarchives objects from a data stream or file and brings them back into memory for programmatic usage.
-(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 operation-(id)unarchiver:(CPKeyedUnarchiver)unarchiver didDecodeObject:(id)object; Called when the unarchiver decodes an object.
unarchiver | the unarchiver doing the decoding |
object | the decoded object |
nil
.-(void)unarchiver:(CPKeyedUnarchiver)unarchiver willReplaceObject:(id)object withObject:(id)newObject; Called when a decoded object has been substituted with another. (for example, from -unarchiver
:didDecodeObject:.
unarchiver | the unarchiver that decoded the object |
object | the original decoded object |
newObject | the replacement object |
-(void)unarchiverWillFinish:(CPKeyedUnarchiver)unarchiver; Called when the unarchiver is about to finish decoding.
unarchiver | the unarchiver that's about to finish |
-(void)unarchiverDidFinish:(CPKeyedUnarchiver)unarchiver; Called when the unarchiver has finished decoding.
unarchiver | the unarchiver that finished decoding |
Definition at line 2 of file CPKeyedUnarchiver.h.
|
implementation |
Returns a flag indicating whether the receiver supports keyed coding. The default implementation returns NO
. Subclasses supporting keyed coding must override this to return YES
.
Reimplemented from CPCoder.
Definition at line 430 of file CPKeyedUnarchiver.j.
|
implementation |
Definition at line 425 of file CPKeyedUnarchiver.j.
|
implementation |
Definition at line 197 of file CPKeyedUnarchiver.j.
|
implementation |
Definition at line 233 of file CPKeyedUnarchiver.j.
|
implementation |
Definition at line 357 of file CPKeyedUnarchiver.j.
|
implementation |
Definition at line 255 of file CPKeyedUnarchiver.j.
|
implementation |
Definition at line 243 of file CPKeyedUnarchiver.j.
|
implementation |
Definition at line 267 of file CPKeyedUnarchiver.j.
|
implementation |
Definition at line 324 of file CPKeyedUnarchiver.j.
|
implementation |
Definition at line 279 of file CPKeyedUnarchiver.j.
|
implementation |
Definition at line 294 of file CPKeyedUnarchiver.j.
|
implementation |
Definition at line 309 of file CPKeyedUnarchiver.j.
|
implementation |
Definition at line 388 of file CPKeyedUnarchiver.j.
|
implementation |
Definition at line 376 of file CPKeyedUnarchiver.j.
|
implementation |
Definition at line 140 of file CPKeyedUnarchiver.j.
|
implementation |
Reimplemented from CPObject.
Definition at line 120 of file CPKeyedUnarchiver.j.
|
implementation |
Definition at line 420 of file CPKeyedUnarchiver.j.
|
implementation |
Definition at line 397 of file CPKeyedUnarchiver.j.
|
implementation |
Definition at line 163 of file CPKeyedUnarchiver.j.
|
implementation |
Definition at line 182 of file CPKeyedUnarchiver.j.
|
implementation |
Definition at line 189 of file CPKeyedUnarchiver.j.