Instance Method

archiver:didEncodeObject:

Informs the delegate that a given object has been encoded.

Declaration

- (void)archiver:(NSKeyedArchiver *)archiver didEncodeObject:(id)object;

Parameters

archiver

The archiver that sent the message.

object

The object that has been encoded. object may be nil.

Discussion

The delegate might restore some state it had modified previously, or use this opportunity to keep track of the objects that are encoded.

This method is not called for conditional objects until they are actually encoded (if ever).

See Also

Encoding Data and Objects

- archiverDidFinish:

Notifies the delegate that encoding has finished.

- archiver:willEncodeObject:

Informs the delegate that object is about to be encoded.

- archiverWillFinish:

Notifies the delegate that encoding is about to finish.

- archiver:willReplaceObject:withObject:

Informs the delegate that one given object is being substituted for another given object.