the following code 'seems to work' on macosx, but not on the gnustep in debian etch. Am I doing something silly ?
int main (int argc, const char * argv[]) { NSAutoreleasePool * pool = [[NSAutoreleasePool alloc] init]; NSMutableString *foo; foo=[[NSMutableString alloc] init]; [foo setString: @"wib"]; NSLog(@"check: %08x: %@", foo, foo); NSData *bar; bar=[NSKeyedArchiver archivedDataWithRootObject:foo]; NSMutableString *baz; baz=[NSKeyedUnarchiver unarchiveObjectWithData:bar]; NSLog(@"check: %08x: %@", baz, baz); [pool release]; return 0; } Regards, Paddy _______________________________________________ Discuss-gnustep mailing list Discuss-gnustep@gnu.org http://lists.gnu.org/mailman/listinfo/discuss-gnustep