Read only NSMutableArray after unarchiving
Read only NSMutableArray after unarchiving
- Subject: Read only NSMutableArray after unarchiving
- From: David Lee <email@hidden>
- Date: Thu, 12 Dec 2002 13:26:19 +0100
Hi,
I have been having some trouble with encoding and decoding using
NSArchiver/NSUnarchiver under Mac OS X 10.1.5.
Basically I have been encoding NSMutableArray objects (which themselves
are filled with objects that follow the NSCoding protocol). My
application decodes all the data correctly however I get this message
when running from within project builder whenever I try to edit one of
the arrays that has been deserialized from disk. It seems it is now a
read only array. What do I have to do to stop this behaviour?
RRV Studio[691] *** -[NSCFArray removeObjectAtIndex:]: mutating method
sent to immutable object
Dave Lee
University of the West of England (U.W.E)
_______________________________________________
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.