• 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: Cleaning up weak references ( was Re: Odd Crash when adding table columns manually )
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Cleaning up weak references ( was Re: Odd Crash when adding table columns manually )


  • Subject: Re: Cleaning up weak references ( was Re: Odd Crash when adding table columns manually )
  • From: Kyle Sluder <email@hidden>
  • Date: Thu, 20 Jan 2011 09:17:48 -0800

On Thu, Jan 20, 2011 at 7:22 AM, Eric Gorr <email@hidden> wrote:
> Based on my current understanding, the dealloc should be setting it's datasource and delegate to nil. Correct? If so, I will file a bug.

No. It is the responsibility of the delegate to set the table view's
backpointer to nil. The delegate usually has an owning reference to
the table view. If -dealloc is being called on the table view, but the
delegate still has a pointer to the table view, that means a memory
management error has occurred.

--Kyle Sluder
_______________________________________________

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: Cleaning up weak references ( was Re: Odd Crash when adding table columns manually )
      • From: Eric Gorr <email@hidden>
References: 
 >Odd Crash when adding table columns manually (From: Eric Gorr <email@hidden>)
 >Re: Odd Crash when adding table columns manually (From: Peter Lübke <email@hidden>)
 >Re: Odd Crash when adding table columns manually (From: Eric Gorr <email@hidden>)
 >Re: Odd Crash when adding table columns manually (From: Keary Suska <email@hidden>)
 >Re: Odd Crash when adding table columns manually (From: Eric Gorr <email@hidden>)
 >Re: Odd Crash when adding table columns manually (From: Eric Gorr <email@hidden>)
 >Re: Odd Crash when adding table columns manually (From: Lee Ann Rucker <email@hidden>)
 >Re: Odd Crash when adding table columns manually (From: Eric Gorr <email@hidden>)
 >Re: Odd Crash when adding table columns manually (From: Corbin Dunn <email@hidden>)
 >Re: Odd Crash when adding table columns manually (From: Graham Cox <email@hidden>)
 >Re: Odd Crash when adding table columns manually (From: Eric Gorr <email@hidden>)
 >Re: Odd Crash when adding table columns manually (From: Graham Cox <email@hidden>)
 >Re: Odd Crash when adding table columns manually (From: Eric Gorr <email@hidden>)
 >Cleaning up weak references ( was Re: Odd Crash when adding table columns manually ) (From: Eric Gorr <email@hidden>)

  • Prev by Date: Cleaning up weak references ( was Re: Odd Crash when adding table columns manually )
  • Next by Date: Re: Cleaning up weak references ( was Re: Odd Crash when adding table columns manually )
  • Previous by thread: Cleaning up weak references ( was Re: Odd Crash when adding table columns manually )
  • Next by thread: Re: Cleaning up weak references ( was Re: Odd Crash when adding table columns manually )
  • Index(es):
    • Date
    • Thread