• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
NSKeyedUnarchiver replaces NSStrings
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.


  • Prev by Date: Re: memory management question
  • Next by Date: Re: NSView -addSubview tutorial or example?
  • Previous by thread: Re: How about assembling and posting "Frequently Asked Questions"
  • Next by thread: Re: NSKeyedUnarchiver replaces NSStrings
  • Index(es):
    • Date
    • Thread