Re: How can I get rid of this message?
Re: How can I get rid of this message?
- Subject: Re: How can I get rid of this message?
- From: Nick Zitzmann <email@hidden>
- Date: Wed, 1 Jul 2009 20:45:19 -0600
On Jul 1, 2009, at 8:41 PM, Agha Khan wrote:
Am I am doing something wrong?
Yes.
I am new to Apple development and how can I get rid of this message.
NSArrays are immutable; NSMutableArrays are. Make your array mutable,
and then you can add and remove objects from it. Note that it's not
enough to just declare the pointer to be an NSMutableArray; you must
also allocate an object of that class or else you'll get mutation
exceptions.
Nick Zitzmann
<http://www.chronosnet.com/>
_______________________________________________
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