Re: *** -[NSCFDictionary setObject:forKey:]: mutating method sent to immutable object
Re: *** -[NSCFDictionary setObject:forKey:]: mutating method sent to immutable object
- Subject: Re: *** -[NSCFDictionary setObject:forKey:]: mutating method sent to immutable object
- From: Daniel Child <email@hidden>
- Date: Thu, 21 Feb 2008 10:51:51 -0500
Yes! What an idiotic mistake. I had never had occasion to use
mutableCopy until now.
Thanks.
On Feb 21, 2008, at 9:21 AM, Hamish Allan wrote:
I'm puzzled. I don't see why memory would be an issue. (This is my
first
pass, so there hasn't been a chance to dealloc anything.) My
setters all use
the release-copy paradigm.
You are taking a copy of dataValue, rather than a mutableCopy?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden