DrawKit
Vector and illustration framework for Mac OS X
Instance Methods | List of all members
DKKeyedUnarchiver Class Reference

This class works identically to NSKeyedUnarchiver in every way, except that it can store a reference to the drawing's DKImageDataManager instance. More...

Inheritance diagram for DKKeyedUnarchiver:
Inheritance graph
[legend]

Instance Methods

(DKImageDataManager *) - imageManager
 
(void) - setImageManager:
 

Detailed Description

This class works identically to NSKeyedUnarchiver in every way, except that it can store a reference to the drawing's DKImageDataManager instance.

This class works identically to NSKeyedUnarchiver in every way, except that it can store a reference to the drawing's DKImageDataManager instance. This allows objects to dearchive images that are cached by the manager without requiring a valid back pointer to the drawing, which is often the case at -initWithCoder: time.

Note that the image manager is archived and dearchived normally, but DKDrawing sets the coder's reference having dearchived it, so subsequent unarchiving can find it.

Method Documentation

- (DKImageDataManager*) imageManager
- (void) setImageManager: (DKImageDataManager *)  imgMgr