Re: Can I somehow encourage the deallocation of a dismissed view controller?
Re: Can I somehow encourage the deallocation of a dismissed view controller?
- Subject: Re: Can I somehow encourage the deallocation of a dismissed view controller?
- From: Fritz Anderson <email@hidden>
- Date: Thu, 09 Feb 2012 08:52:57 -0600
On 9 Feb 2012, at 2:17 AM, G S wrote:
> However, the control still isn't deallocated when its parent view is.
Now that the scheme of retains and releases has changed after removing the orphan IBOutlet connection, I'd return to a first-principles question:
You say it isn't deallocated _when its parent view is._ Do you mean it is deallocated eventually? Probably you don't, but if it is deallocated _eventually,_ that's pretty common behavior, in my experience. Deallocation is nondeterministic, from an application programmer's point of view. Subviews do sometimes briefly survive the death of their parents.
— F
_______________________________________________
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