Re: ARCHIVING WITH CIRCULAR REFERENCES
Re: ARCHIVING WITH CIRCULAR REFERENCES
- Subject: Re: ARCHIVING WITH CIRCULAR REFERENCES
- From: Alex Rice <email@hidden>
- Date: Sun, 16 Feb 2003 09:58:15 -0700
On Sunday, February 16, 2003, at 02:25 AM, Martin Hdcker wrote:
Well, this sure does look like it should already work for you:
But this doesn't say anything about NSDictionary does it? Subclasses
may or may not do it right.
NSCoder does not implement support for root objects; NSCoder's
implementation of encodeRootObject: simply encodes the object by
invoking encodeObject: . It is the responsibility of its concrete
subclasses to keep track of multiple references to objects, thus
preserving the structure of any object graphs.
OK, this jogged my memory. whitestari, remove the NSLog() calls or
figure out a way to not call -description on your circular objects. I
believe this is the cause of the problem, not the circular reference
itself.
See the thread I started in January titled "Re: NSMutableDictionary
crashing?"
http://lists.apple.com/archives/cocoa-dev/2003/Jan/01/
nsmutabledictionarycrash.txt
http://lists.apple.com/archives/cocoa-dev/2003/Jan/02/
nsmutabledictionarycrash.txt
http://lists.apple.com/archives/cocoa-dev/2003/Jan/02/
nsmutabledictionarycrash.001.txt
Alex Rice <email@hidden> | Mindlube Software |
http://mindlube.com
what a waste of thumbs that are opposable
to make machines that are disposable -Ani DiFranco
_______________________________________________
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.