On 14/10/2009, at 5:32 AM, Jens Alfke wrote:

As I lost the source code, I would like to know if there is a way to dump all keys/values from NSCoder so I can use it to help me with my arduous rewrite.

There is not any API for this. Parsing an archive is pretty difficult unless you have the same classes available. Although if it's in XML, not binary, format, it is somewhat understandable if you squint at it hard enough (or parse it with NSXML.)


It can also be parsed by the Property List Editor utility, which at least gives you a glimpse at the names of the classes and keys used. It takes some detective work but you can even work out what keys are with which class. It's not much, but it's something.

--Graham
_______________________________________________

Cocoa-dev mailing list ([email protected])

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to