• 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: Daniel Child <email@hidden>
  • Date: Wed, 20 Feb 2008 21:29:31 -0500

I haven't serialized anything (yet). Everything has been processed in memory.

I will keep that in mind for the future, though. Thanks.

On Feb 19, 2008, at 10:12 PM, Jonathan Hess wrote:

Property list serializers will return immutable objects by default, but NSCoders will give you a full-fidelity copy that preserves the mutable state.

_______________________________________________

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>)
 >Re: *** -[NSCFDictionary setObject:forKey:]: mutating method sent to immutable object (From: "Hamish Allan" <email@hidden>)
 >Re: *** -[NSCFDictionary setObject:forKey:]: mutating method sent to immutable object (From: Bill Bumgarner <email@hidden>)
 >Re: *** -[NSCFDictionary setObject:forKey:]: mutating method sent to immutable object (From: Jonathan Hess <email@hidden>)

  • Prev by Date: How to get my class instance that's in IB
  • Next by Date: Re: How to get my class instance that's in IB
  • 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