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: Keary Suska <email@hidden>
- Date: Tue, 19 Feb 2008 14:14:20 -0700
- Thread-topic: *** -[NSCFDictionary setObject:forKey:]: mutating method sent to immutable object
on 2/19/08 11:00 AM, email@hidden purportedly said:
> [[self data] setObject: [self value] forKey: @"step 1 value"]; //
In addition to what has been said, there may be an issue with the -data
accessor. By any chance do you return [data copy]? That would be a problem
in a number of ways.
Best,
Keary Suska
Esoteritech, Inc.
"Demystifying technology for your home or business"
_______________________________________________
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