Re: I've Got Those NSKeyedUnarchiver Blues!

2011-12-05 Thread Stuart Rogers
On 4 Dec 2011, at 23:09, Jens Alfke wrote: > >> *** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class >> (SplitsTestSet) >> >> I really don't understand why this is happening. I'm convinced it's >> not a problem with library linking, as these apps have no problem >> instan

Re: I've Got Those NSKeyedUnarchiver Blues!

2011-12-04 Thread Jens Alfke
On Dec 4, 2011, at 11:17 AM, Stuart Rogers wrote: > *** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class > (SplitsTestSet) > > I really don't understand why this is happening. I'm convinced it's > not a problem with library linking, as these apps have no problem > instan

Re: I've Got Those NSKeyedUnarchiver Blues!

2011-12-04 Thread Stuart Rogers
A little earlier I wrote... > The Trainer app is where things fall over. It reads the file into > an NSData object and tries to decode it with NSKeyedUnarchiver's > -unarchiveWithData: but this results in: > > *** -[NSKeyedUnarchiver decodeObjectForKey:]: cannot decode object of class > (Splits

I've Got Those NSKeyedUnarchiver Blues!

2011-12-04 Thread Stuart Rogers
I'm having a problem decoding a keyed archive, and I would appreciate it if some kind soul here can swing the relevant clue bat... My workspace contains three OS X projects: * A static library: 'Splits Image Lib'. This contains, inter alia, a class called SplitsTestSet, which conforms to NSCodi