• 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: Memory management with arrays
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory management with arrays


  • Subject: Re: Memory management with arrays
  • From: Jonathon Mah <email@hidden>
  • Date: Sun, 10 Feb 2008 16:40:10 +1030

Hi Jacob,

On 2008-02-10, at 14:18, Jacob Bandes-Storch wrote:

This should remove all the objects, and add a new one. Basically, I want the old Bar instance gone, and the new one in the array. However, when I do this, I get an EXC_BAD_ACCESS when it tries to - removeAllObjects. What's the problem?


Without seeing more code, I'd guess that you're not retaining the array.



Jonathon Mah
email@hidden


_______________________________________________

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


  • Follow-Ups:
    • Re: Memory management with arrays
      • From: Jacob Bandes-Storch <email@hidden>
References: 
 >Memory management with arrays (From: Jacob Bandes-Storch <email@hidden>)

  • Prev by Date: Re: Clicking in an attributed TextField
  • Next by Date: Re: Memory management with arrays
  • Previous by thread: Memory management with arrays
  • Next by thread: Re: Memory management with arrays
  • Index(es):
    • Date
    • Thread