Re: Delayed Autorelease
Re: Delayed Autorelease
- Subject: Re: Delayed Autorelease
- From: "Patrick M. Rutkowski" <email@hidden>
- Date: Thu, 8 Apr 2010 11:03:56 -0400
It turns out that my memory error is coming form somewhere else. If
you don't mind changing the topic of the thread for a moment:
I have a Foo object which has an NSMutableArray of Bar objects. The
Bar objects each have their own NSMutableArray of Baz objects.
The weird thing is that the Foo and it's array of Bar's are all living
well and good, but the Bar's are all getting dealloc'd, even though
their containing parent are still alive.
Still digging into it; not quite sure that you guys would even have
any advice to offer here, I think I'm on my own :-/
-Patrick
On Thu, Apr 8, 2010 at 10:36 AM, Patrick M. Rutkowski
<email@hidden> wrote:
> Is it common in either Cocoa or UIKit to have an autorelease run
> happen only when the user does something?
>
> I'm in a situation where I believe the autorelease run is happening
> only when I push a bush or otherwise fiddled with a UI item; might
> that be the case, or am I confused?
>
> -Patrick
>
> P.S.
> Is there perhaps a way to have it logged to the console whenever an
> autorelease run happens?
>
_______________________________________________
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