NSKeyedUnarchiver replaces NSStrings
NSKeyedUnarchiver replaces NSStrings
- Subject: NSKeyedUnarchiver replaces NSStrings
- From: Björn Carlström <email@hidden>
- Date: Sat, 20 Mar 2004 22:31:02 +0100
Hi
I'm using NSKeyedArchiver to save my documents. Some of my objects are
refering the same instance of NSString, When unarchiving the file,
NSKeyedUnarchiver creates a several copies of NSString instead of
returning the same instance over and over. All other objects apart from
NSString works correctly. I've examined the saved file and from what I
can tell the string is only saved once so the problem seems to be in
the unarchiving.
Does NSString work differently when decoded than other objects or is
there something else I am missing here?
Any suggestiones or help apreciated
Bjvrn Carlstrvm
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.