Introduction to HIArchive Programming Guide

HIArchive provides a convenient and standardized mechanism for flattening data objects so they can be stored in memory or on disk. Applications can use these archives whenever they need to package complex data. For example, you can use archives to:

HIArchive encodes archives in the binary property list format. You can convert archives to a text XML format using the plutil property list tool accessible from Terminal. You can also examine archives using the Property List Editor tool in /Developer/Applications/Utilities.

Who Should Read This Document?

This document is for Carbon developers who want to use, create, or manipulate HIArchives, whether to store and access proprietary data, or to edit archived data obtained from other sources. You should also read this document if you want to support the archiving of your custom HIObjects.

HIArchive is comparable to (and uses the same underlying mechanism as) the Cocoa NSKeyedArchiver/Unarchiver classes.

HIArchive is available in Mac OS X version 10.4 and later.

Organization of This Document

This document is organized into the following chapters:

See Also

In addition to this document, you may find the following documents useful: