Protocol

NSKeyedArchiverDelegate

The optional methods implemented by the delegate of a keyed archiver.

Declaration

@protocol NSKeyedArchiverDelegate

Topics

Encoding Data and Objects

- archiver:didEncodeObject:

Informs the delegate that a given object has been encoded.

- 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.

Relationships

Inherits From

See Also

Keyed Archivers

NSKeyedArchiver

A coder that stores an object's data to an archive referenced by keys.

NSKeyedUnarchiver

A decoder that restores data from an archive referenced by keys.

NSKeyedUnarchiverDelegate

The optional methods implemented by the delegate of a keyed unarchiver.

NSCoder

An abstract class that serves as the basis for objects that enable archiving and distribution of other objects.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software