« Something to play, when you're sick | Main | Moronic Developer Tool Writers »

Once bitten, twice shy (by +version)

I think I stumbled into this pitfall years ago,but I forgot about it. It appears to me, that it doesn't work to override +version (for NSCoding) in your class. You must explicitly set it with setVersion:. So this has to be done in +initialize explicitly.

About

This page contains a single entry from the blog posted on October 6, 2005 1:03 PM.

The previous post in this blog was Something to play, when you're sick.

The next post in this blog is Moronic Developer Tool Writers.

Many more can be found on the main index page or by looking through the archives.

Powered by
Movable Type 3.34