Re: How to iterate over all objects stored with NSCoder

2009-10-14 Thread Graham Cox
On 14/10/2009, at 10:24 AM, Graham Cox wrote: 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 i

Re: How to iterate over all objects stored with NSCoder

2009-10-13 Thread Gerriet M. Denkmann
On 13 Oct 2009, at 16:56, Michael Robinson 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. Is it possible to do this? Probably. How? Reverse engineer the format. I'll kee

Re: How to iterate over all objects stored with NSCoder

2009-10-13 Thread Graham Cox
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 th

Re: How to iterate over all objects stored with NSCoder

2009-10-13 Thread Jens Alfke
On Oct 12, 2009, at 9:40 PM, Michael Robinson 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

How to iterate over all objects stored with NSCoder

2009-10-12 Thread Michael Robinson
Hi list, I stupidly lost the source code to a program I wrote a long time ago, and now have enough spare time to re-write it. The program stored data with NSCoder. The re-written program needs to be able to read the same data. As I lost the source code, I would like to know if there is a way