Archiving objects into archive files

The classes NSKeyedArchiver and NSKeyedUnarchiver allow us to persist data in a very Object-oriented way. By conforming to the NSCoding protocol, we can tell the archiver how to pack and unpack any of our classes.


In this recipe, we will be packing up a character who has a number of Dungeons and Dragons style attributes.

Looking for something?

Use the form below to search the site:

Still not finding what you're looking for? Drop a comment on a post or contact us so we can take care of it!

Visit our friends!

A few highly recommended friends...

  • Documentation
  • Plugins
  • Suggest Ideas
  • Support Forum
  • Themes
  • WordPress Blog
  • WordPress Planet

Archives

All entries, chronologically...

WordPress Themes
rss
Карта