API  1.0.0
CPObject(CPCoding) Category Reference

Instance Methods

(id) - awakeAfterUsingCoder:
 

Detailed Description

Definition at line 142 of file CPCoder.j.

Method Documentation

◆ awakeAfterUsingCoder:()

- (id) awakeAfterUsingCoder: (CPCoder aCoder
implementation

Called after an object is unarchived in case a different object should be used in place of it. The default method returns self. Interested subclasses should override this.

Parameters
aDecoder
Returns
the original object or it's substitute.

Subclasses override this method to possibly substitute the unarchived object with another. This would be useful if your program utilizes a flyweight pattern. The method is called by CPCoder.

Parameters
aCoderthe coder that contained the receiver's data

Extends class CPObject.

Definition at line 150 of file CPCoder.j.


The documentation for this category was generated from the following file: