• 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: Responding to view controller memory warnings (was Re: Outlets / IBOutlet declarations)
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Responding to view controller memory warnings (was Re: Outlets / IBOutlet declarations)


  • Subject: Re: Responding to view controller memory warnings (was Re: Outlets / IBOutlet declarations)
  • From: Ricky Sharp <email@hidden>
  • Date: Thu, 19 Feb 2009 15:41:21 -0600


On Feb 19, 2009, at 2:18 PM, James Montgomerie wrote:

Returning to this months-old thread... Apologies for the length of the mail, I thought it best to summarise what went before.


I now have shipping iPhone OS apps and during all my tests and analyzing things in Instruments (connected to real hardware), I didn't see a reason to put the proposed code in.

Perhaps this is just how I've coded things, but I've seen views get unloaded and reloaded perfectly without any leaks. This included my "main" screen view that was currently on the bottom of a nav controller stack (not the current view). When I popped the current screen, it was appropriately re-loaded. All IBOutlets re-wired, etc.

My dealloc code is doing stuff like:

self.someIBOutlet = nil;
self.someOtherIvar = nil;
...
[super dealloc]


I'm _definitely_ not trying to be argumentative or propose that others avoid the "proper" solution. Just wanted to point out that in my real- world situation, I just haven't had the need for it.


___________________________________________________________
Ricky A. Sharp         mailto:email@hidden
Instant Interactive(tm)   http://www.instantinteractive.com



_______________________________________________

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: Responding to view controller memory warnings (was Re: Outlets / IBOutlet declarations)
      • From: James Montgomerie <email@hidden>
    • Re: Responding to view controller memory warnings (was Re: Outlets / IBOutlet declarations)
      • From: mmalc Crawford <email@hidden>
References: 
 >Re: Responding to view controller memory warnings (was Re: Outlets / IBOutlet declarations) (From: James Montgomerie <email@hidden>)

  • Prev by Date: Re: Need recommendations for best way to build a custom view
  • Next by Date: Re: Responding to view controller memory warnings (was Re: Outlets / IBOutlet declarations)
  • Previous by thread: Re: Responding to view controller memory warnings (was Re: Outlets / IBOutlet declarations)
  • Next by thread: Re: Responding to view controller memory warnings (was Re: Outlets / IBOutlet declarations)
  • Index(es):
    • Date
    • Thread