Try NSKeyedArchiver, NSKeyedUnarchiver.