• 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: Newbie problem with NSMutableArray
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie problem with NSMutableArray


  • Subject: Re: Newbie problem with NSMutableArray
  • From: Nick Zitzmann <email@hidden>
  • Date: Wed, 6 Sep 2006 13:23:32 -0600


On Sep 6, 2006, at 1:14 PM, Marcus Pedersén wrote:

Does not the message "count" work for NSMutableArray?
At a specific point my app calls the message [myMutArray count] and then my app crashes!?

That means it was probably deallocated at some point, and the crash is being caused by the app trying to access the deallocated object. Please read up on Cocoa memory management and then re-evaluate your code.


Nick Zitzmann
<http://www.chronosnet.com/>




_______________________________________________ Do not post admin requests to the list. They will be ignored. Cocoa-dev mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Newbie problem with NSMutableArray (From: Marcus Pedersén <email@hidden>)

  • Prev by Date: Newbie problem with NSMutableArray
  • Next by Date: Re: Programatically detect if any autorelease pool exists?
  • Previous by thread: Newbie problem with NSMutableArray
  • Next by thread: Re: Newbie problem with NSMutableArray
  • Index(es):
    • Date
    • Thread