Nat! bio photo

Nat!

Senior Mull.

Twitter RSS

Github

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.