• 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: Error: mutating method sent to immutable object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Error: mutating method sent to immutable object


  • Subject: Re: Error: mutating method sent to immutable object
  • From: Graham Cox <email@hidden>
  • Date: Sun, 5 Apr 2009 19:22:33 +1000


On 05/04/2009, at 4:50 AM, Priscila J.V. wrote:

Can you please suggest me something to fix it?


Why not try randomly changing the code without thinking about the problem until it stops throwing errors?

Yes you're right, that would be stupid. So why are you doing it?

You need to develop the ability to read your code and mentally understand what is actually happening. I pointed out the problem in my very first reply to you, yet you haven't acted on it, and instead are just expecting someone else to fix up the mess. We could, but you won't have learned a thing. A problem you fix yourself is worth ten fixed by somebody else.

So try a bit harder... and take heed of my note about carelessness.

--Graham


_______________________________________________

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: 
 >Re: Error: mutating method sent to immutable object (From: Simon Robbie <email@hidden>)
 >RE: Error: mutating method sent to immutable object (From: Priscila J.V. <email@hidden>)

  • Prev by Date: Re: Toll-free bridge type at runtime
  • Next by Date: Re: Need localization-proof method of transporting dates.
  • Previous by thread: RE: Error: mutating method sent to immutable object
  • Next by thread: Dragging anything out of a WebView into other Cocoa controls
  • Index(es):
    • Date
    • Thread