What happens with unarchived objects?

Posted by Dane Man on Stack Overflow See other posts from Stack Overflow or by Dane Man
Published on 2010-06-17T01:31:55Z Indexed on 2010/06/17 1:42 UTC
Read the original article Hit count: 323

After I've unarchived an object with NSKeyedUnarchiver, I am able to use it like usual, but I am unable to re-archive it. When I try, it crashes.

[NSKeyedArchiver archiveRootObject:unarchivedObject toFile:fileName];

I tried looking in the developer resources in apple but I haven't seen a thorough explination of proper usage of NSKeyedArchiver. Please Help.

© Stack Overflow or respective owner

Related posts about objective-c

Related posts about ipad