• 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
Re: *** -[NSCFDictionary setObject:forKey:]: mutating method sent to immutable object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >*** -[NSCFDictionary setObject:forKey:]: mutating method sent to immutable object (From: Daniel Child <email@hidden>)

  • Prev by Date: Re: Accessing buffers in NSData/NSMutableData under garbage collection
  • Next by Date: Is there any way to track mouse Entered & mouse Exited without a window in Tiger?
  • Previous by thread: Re: *** -[NSCFDictionary setObject:forKey:]: mutating method sent to immutable object
  • Next by thread: Re: *** -[NSCFDictionary setObject:forKey:]: mutating method sent to immutable object
  • Index(es):
    • Date
    • Thread