• 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: Can I somehow encourage the deallocation of a dismissed view controller?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


  • Follow-Ups:
    • Re: Can I somehow encourage the deallocation of a dismissed view controller?
      • From: G S <email@hidden>
    • Re: Can I somehow encourage the deallocation of a dismissed view controller?
      • From: G S <email@hidden>
References: 
 >Can I somehow encourage the deallocation of a dismissed view controller? (From: G S <email@hidden>)
 >Re: Can I somehow encourage the deallocation of a dismissed view controller? (From: Conrad Shultz <email@hidden>)
 >Re: Can I somehow encourage the deallocation of a dismissed view controller? (From: G S <email@hidden>)
 >Re: Can I somehow encourage the deallocation of a dismissed view controller? (From: Conrad Shultz <email@hidden>)
 >Can I somehow encourage the deallocation of a dismissed view controller? (From: G S <email@hidden>)
 >Re: Can I somehow encourage the deallocation of a dismissed view controller? (From: Conrad Shultz <email@hidden>)
 >Re: Can I somehow encourage the deallocation of a dismissed view controller? (From: G S <email@hidden>)

  • Prev by Date: Re: How to get bookmarks data for non-existing files
  • Next by Date: How to cancel a loading document in NSDocument's readFromURL:ofType:error method ?
  • Previous by thread: Re: Can I somehow encourage the deallocation of a dismissed view controller?
  • Next by thread: Re: Can I somehow encourage the deallocation of a dismissed view controller?
  • Index(es):
    • Date
    • Thread