Re: Memory management with arrays
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