Re: Error: mutating method sent to immutable object
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