• 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: How can I get rid of this message?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


References: 
 >How can I get rid of this message? (From: Agha Khan <email@hidden>)

  • Prev by Date: Re: How can I get rid of this message?
  • Next by Date: Re: How can I get rid of this message?
  • Previous by thread: Re: How can I get rid of this message?
  • Next by thread: Re: How can I get rid of this message?
  • Index(es):
    • Date
    • Thread